Skip to content

Commit

Permalink
raw1394: fix memory deallocation in modify_config_rom
Browse files Browse the repository at this point in the history
raw1394: use correct deallocation macro for CSR cache

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Jody McIntyre <scjody@modernduck.com>
  • Loading branch information
Stefan Richter authored and Jody McIntyre committed Nov 21, 2005
1 parent d734f92 commit b12479d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ieee1394/raw1394.c
Original file line number Diff line number Diff line change
Expand Up @@ -2166,7 +2166,7 @@ static int modify_config_rom(struct file_info *fi, struct pending_request *req)
}
}
kfree(cache->filled_head);
kfree(cache);
CSR1212_FREE(cache);

if (ret >= 0) {
/* we have to free the request, because we queue no response,
Expand Down

0 comments on commit b12479d

Please sign in to comment.