Messages in this thread | | | Date | Thu, 11 Aug 2011 11:52:41 +0200 (CEST) | From | Julia Lawall <> | Subject | Re: [PATCH] net/netlabel/netlabel_kapi.c: add missing cleanup code |
| |
On Thu, 11 Aug 2011, Dan Carpenter wrote:
> On Thu, Aug 11, 2011 at 11:40:33AM +0200, Julia Lawall wrote: > > From: Julia Lawall <julia@diku.dk> > > > > 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
| |