提交 b12479dd 编写于 作者: S Stefan Richter 提交者: Jody McIntyre

raw1394: fix memory deallocation in modify_config_rom

raw1394: use correct deallocation macro for CSR cache
Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: NJody McIntyre <scjody@modernduck.com>
上级 d734f92b
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册