Staging: android: binder: Fix memory leak on thread/process exit
authorArve Hjønnevåg <arve@android.com>
Tue, 16 Oct 2012 22:29:54 +0000 (15:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 17:02:57 +0000 (10:02 -0700)
commitc70fc22aa9f442379b1f64e863b8adf8da2356e8
treefcb14da07db6778ad135cf7fa78a104ce05b81f1
parentfa3b39b05f40bf7273bcd6c152f0b59005b83480
Staging: android: binder: Fix memory leak on thread/process exit

commit 675d66b0ed5fd170d6a44cf8dbb3fa56a5347bdb upstream.

If a thread or process exited while a reply, one-way transaction or
death notification was pending, the struct holding the pending work
was leaked.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/binder.c