commit | bbe2a1d32f40c01ca1a7e7795e20ca06f87ffc9b | [log] [tgz] |
---|---|---|
author | Jesper Juhl <jj@chaosbits.net> | Tue Nov 25 10:57:54 2008 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri Dec 21 16:28:58 2012 -0200 |
tree | 1f448364296d0be3d7ddb15f1fc31e1c8abef708 | |
parent | e5d85b9ac3133f67460ea5b2d4e33e0473d6eb4b [diff] |
[media] rc: Fix double free in gpio_ir_recv_remove() 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>