Re: [PATCH] perf tests: dlfilter: free desc and long_desc in check_filter_desc

From: Arnaldo Carvalho de Melo
Date: Fri Aug 20 2021 - 10:17:59 EST


Em Fri, Aug 20, 2021 at 03:29:39PM +0300, Adrian Hunter escreveu:
> On 20/08/21 2:31 pm, Riccardo Mancini wrote:
> > In dlfilter-test, the function check_filter_desc calls get_filter_desc
> > which allocates desc and long_desc.
> > However, these variables are never deallocated.
> >
> > This patch adds the missing frees.
> >
> > Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
> > Fixes: 9f9c9a8de2d5e96c ("perf tests: Add dlfilter test")
> > Signed-off-by: Riccardo Mancini <rickyman7@xxxxxxxxx>
>
> Acked-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>

Thanks, applied.

- Arnaldo