projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
693b902
)
firewire: Free pending transactions on cdev release.
author
Kristian Høgsberg
<krh@redhat.com>
Wed, 14 Mar 2007 21:34:57 +0000
(17:34 -0400)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Thu, 15 Mar 2007 17:21:36 +0000
(18:21 +0100)
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-device-cdev.c
patch
|
blob
|
history
diff --git
a/drivers/firewire/fw-device-cdev.c
b/drivers/firewire/fw-device-cdev.c
index ebf0d100805e6da6563cb5799912995f51fe41fb..b1b7edb0d2adc1958d56863f90c4194336b52a8e 100644
(file)
--- a/
drivers/firewire/fw-device-cdev.c
+++ b/
drivers/firewire/fw-device-cdev.c
@@
-827,8
+827,10
@@
static int fw_device_op_release(struct inode *inode, struct file *file)
kfree(r);
}
- list_for_each_entry_safe(t, next_t, &client->transaction_list, link)
+ list_for_each_entry_safe(t, next_t, &client->transaction_list, link)
{
fw_cancel_transaction(client->device->card, &t->transaction);
+ kfree(t);
+ }
/* FIXME: We should wait for the async tasklets to stop
* running before freeing the memory. */