Re: [PATCH] smack: Fix a memory leak in smack_add_opt()

From: Al Viro
Date: Fri Dec 21 2018 - 11:37:04 EST


On Fri, Dec 21, 2018 at 12:09:58PM +0300, Dan Carpenter wrote:
> The function is leaking "opts" on the error paths.
>
> Fixes: 90e3b564ab93 ("smack: take the guts of smack_parse_opts_str() into a new helper")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

D'oh... Applied, thanks for spotting that braino.