mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
22eb9476b5
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> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
binder_alloc.c | ||
binder_alloc.h | ||
binder_trace.h | ||
binder.c | ||
Kconfig | ||
Makefile |