git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a285bf9
)
staging: ft1000: fix error path
author
Vasiliy Kulikov
<segooon@gmail.com>
Sun, 3 Oct 2010 17:58:46 +0000
(21:58 +0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 5 Oct 2010 18:42:19 +0000
(11:42 -0700)
init_ft1000_netdev() calls kfree(netdev) instead of free_netdev(netdev).
It doesn't check kmalloc() return value.
ft1000_read_fifo_reg() doesn't free dr on error and calls kfree(urb)
instead of usb_free_urb(urb). Also kfree(NULL) is OK.
Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
No differences found