raw1394: fix memory deallocation in modify_config_rom
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 21 Nov 2005 22:32:18 +0000 (17:32 -0500)
committerJody McIntyre <scjody@modernduck.com>
Mon, 21 Nov 2005 22:32:18 +0000 (17:32 -0500)
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>
drivers/ieee1394/raw1394.c

index 99b2ce1..89cac1f 100644 (file)
@@ -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,