summaryrefslogtreecommitdiff
path: root/kernel/sched/core.c
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2017-08-21 16:13:28 +0200
committerMartijn Coenen <maco@android.com>2018-07-17 12:48:06 +0200
commit8dd84f190eec55766eb3e6215af185b1a3cf59f4 (patch)
tree1f8d7da8513be674357432b74b73ba1c96c338b6 /kernel/sched/core.c
parentc88a3ec1ee64576a706432af3e8f1aee8e6e4d2e (diff)
UPSTREAM: binder: free memory on error
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> (cherry picked from commit 22eb9476b5d80a393ac0ba235c42bccc90b82c76) Change-Id: I78fdeecf70c31ba4248b3de17130f97546288f84
Diffstat (limited to 'kernel/sched/core.c')
0 files changed, 0 insertions, 0 deletions