mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/1] binder: free memory on error
@ 2017-08-21 13:36 Christian Brauner
  2017-08-21 13:36 ` [PATCH 1/1] " Christian Brauner
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Brauner @ 2017-08-21 13:36 UTC (permalink / raw)
  To: gregkh, arve, riandrews, devel, linux-kernel; +Cc: Christian Brauner

On binder_init() the devices string is duplicated and smashed into individual
device names which are passed along. However, if I'm not mistaken the original
duplicated string wasn't freed in case binder_init() failed.

Christian

Christian Brauner (1):
  binder: free memory on error

 drivers/android/binder.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
2.13.3

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-21 14:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-21 13:36 [PATCH 0/1] binder: free memory on error Christian Brauner
2017-08-21 13:36 ` [PATCH 1/1] " Christian Brauner
2017-08-21 14:00   ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®