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:
e5d85b9
)
[media] rc: Fix double free in gpio_ir_recv_remove()
author
Jesper Juhl
<jj@chaosbits.net>
Tue, 25 Nov 2008 13:57:54 +0000
(10:57 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Fri, 21 Dec 2012 18:28:58 +0000
(16:28 -0200)
Since rc_unregister_device() frees its argument there's no need to
subsequently call rc_free_device() on the same variable - in fact it's
a double free bug.
Easily fixed by just removing the rc_free_device() call.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
No differences found