Thread (5 messages) 5 messages, 3 authors, 2011-08-11

Re: [PATCH] net/netlabel/netlabel_kapi.c: add missing cleanup code

From: Julia Lawall <hidden>
Date: 2011-08-11 09:52:49
Also in: kernel-janitors, lkml

On Thu, 11 Aug 2011, Dan Carpenter wrote:
On Thu, Aug 11, 2011 at 11:40:33AM +0200, Julia Lawall wrote:
quoted
From: Julia Lawall <redacted>

Use the same cleanup code for the failure of kzalloc as for the failure of
kstrdup just below.
That doesn't work.  The kfree(entry->domain) would cause an oops.
Of course...  Thanks!

julia
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help