]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: ipack/bridges/tpci200: avoid dereference of a freed tpci200->info
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 25 May 2012 08:03:04 +0000 (10:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jun 2012 05:20:30 +0000 (14:20 +0900)
commit0e502e7a7e248d958f8b410e552491e6e31e96af
treeab80f1a1d1d99002c27670b94cf1c006ad78e84b
parentf5e2d26d4a7dfe721505e03d10cfef8dc3afacbc
Staging: ipack/bridges/tpci200: avoid dereference of a freed tpci200->info

tpci200->info is used later when uninstalling the module. As there is another
kfree in the proper place, this patch removes the wrong one.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ipack/bridges/tpci200.c