[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 13 Aug 2016 14:56:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: kuznet@....inr.ac.ru, jmorris@...ei.org, yoshfuji@...ux-ipv6.org,
kaber@...sh.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] calipso: fix resource leak on calipso_genopt failure
From: Colin King <colin.king@...onical.com>
Date: Thu, 11 Aug 2016 18:17:22 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> Currently, if calipso_genopt fails then the error exit path
> does not free the ipv6_opt_hdr new causing a memory leak. Fix
> this by kfree'ing new on the error exit path.
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied, thanks.
Powered by blists - more mailing lists