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, 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.

regards,
dan carpenter



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