From: Stefan Richter Date: Mon, 21 Nov 2005 22:32:18 +0000 (-0500) Subject: raw1394: fix memory deallocation in modify_config_rom X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b12479ddce4aed112e0018fdf8bbb7cfb349ebdc;p=linux-beck.git raw1394: fix memory deallocation in modify_config_rom raw1394: use correct deallocation macro for CSR cache Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre --- 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) } } kfree(cache->filled_head); - kfree(cache); + CSR1212_FREE(cache); if (ret >= 0) { /* we have to free the request, because we queue no response,