lkml.org 
[lkml]   [2011]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2011-08-11 11:55    [W:0.047 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site