Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1716574
| From | Dan Carpenter <dan.carpenter@oracle.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1 v2] binder: free memory on error |
| Date | 2017-08-21 17:00 +0200 |
| Message-ID | <ugWlj-5F5-7@gated-at.bofh.it> (permalink) |
| References | <ugVIB-5rU-3@gated-at.bofh.it> <ugVID-5rU-37@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Aug 21, 2017 at 04:13:28PM +0200, Christian Brauner wrote: > 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> Looks good. Thanks. regards, dan carpenter
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/1 v2] binder: free memory on error Christian Brauner <christian.brauner@ubuntu.com> - 2017-08-21 16:20 +0200
[PATCH 1/1 v2] binder: free memory on error Christian Brauner <christian.brauner@ubuntu.com> - 2017-08-21 16:20 +0200
Re: [PATCH 1/1 v2] binder: free memory on error Dan Carpenter <dan.carpenter@oracle.com> - 2017-08-21 17:00 +0200
csiph-web