From: Jesper Juhl Date: Tue, 25 Nov 2008 13:57:54 +0000 (-0300) Subject: [media] rc: Fix double free in gpio_ir_recv_remove() X-Git-Tag: v3.9-rc1~93^2~485 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbe2a1d32f40c01ca1a7e7795e20ca06f87ffc9b;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed