diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2005-11-21 17:32:18 -0500 |
---|---|---|
committer | Jody McIntyre <scjody@modernduck.com> | 2005-11-21 17:32:18 -0500 |
commit | b12479ddce4aed112e0018fdf8bbb7cfb349ebdc (patch) | |
tree | a952941828ee564ec9396a57b5228f87eeaac9ec /drivers/ieee1394/raw1394.c | |
parent | d734f92b0dc4c04daa2e0106354972cbbc2e0fbe (diff) |
raw1394: fix memory deallocation in modify_config_rom
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>
Diffstat (limited to 'drivers/ieee1394/raw1394.c')
-rw-r--r-- | drivers/ieee1394/raw1394.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/raw1394.c b/drivers/ieee1394/raw1394.c index 99b2ce15db83..89cac1f55807 100644 --- a/drivers/ieee1394/raw1394.c +++ b/drivers/ieee1394/raw1394.c | |||
@@ -2166,7 +2166,7 @@ static int modify_config_rom(struct file_info *fi, struct pending_request *req) | |||
2166 | } | 2166 | } |
2167 | } | 2167 | } |
2168 | kfree(cache->filled_head); | 2168 | kfree(cache->filled_head); |
2169 | kfree(cache); | 2169 | CSR1212_FREE(cache); |
2170 | 2170 | ||
2171 | if (ret >= 0) { | 2171 | if (ret >= 0) { |
2172 | /* we have to free the request, because we queue no response, | 2172 | /* we have to free the request, because we queue no response, |