linux/drivers/android
Christian Brauner 5f9463ea02 binder: free memory on error
commit 22eb9476b5 upstream.

On binder_init() the devices string is duplicated and smashed into individual
device names which are passed along. However, the original duplicated string
wasn't freed in case binder_init() failed. Let's free it on error.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-09-09 17:39:22 +02:00
..
binder.c binder: free memory on error 2017-09-09 17:39:22 +02:00
binder_trace.h staging: android: binder: move to the "real" part of the kernel 2014-10-20 10:30:15 +08:00
Kconfig ANDROID: binder: add hwbinder,vndbinder to BINDER_DEVICES. 2017-09-09 17:39:19 +02:00
Makefile staging: android: binder: move to the "real" part of the kernel 2014-10-20 10:30:15 +08:00