Re: [PATCH] net/netlabel/netlabel_kapi.c: add missing cleanup code
From: Dan Carpenter <hidden>
Date: 2011-08-11 09:46:20
Also in:
kernel-janitors, lkml
From: Dan Carpenter <hidden>
Date: 2011-08-11 09:46:20
Also in:
kernel-janitors, lkml
On Thu, Aug 11, 2011 at 11:40:33AM +0200, Julia Lawall wrote:
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. regards, dan carpenter