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

Al Viro
2018-12-21T16:37:03Z

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@oracle.com>

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