[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110811094407.GG3777@shale.localdomain>
Date: Thu, 11 Aug 2011 12:44:07 +0300
From: Dan Carpenter <error27@...il.com>
To: Julia Lawall <julia@...u.dk>
Cc: Paul Moore <paul@...l-moore.com>, kernel-janitors@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [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@...u.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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists