On Fri, Mar 20, 2015 at 7:00 AM, Christophe Milard <
christophe.mil...@linaro.org> wrote:

> CID 88273:  Resource leaks  (RESOURCE_LEAK)
>
> Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
>

Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org>


> ---
>
> now with CID in comments.
>
>  test/validation/odp_cpumask.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/test/validation/odp_cpumask.c b/test/validation/odp_cpumask.c
> index 2285034..b7e18d6 100644
> --- a/test/validation/odp_cpumask.c
> +++ b/test/validation/odp_cpumask.c
> @@ -148,6 +148,9 @@ static void test_odp_cpumask_to_from_str(void)
>
>         CU_ASSERT_NSTRING_EQUAL(buf_out, TEST_MASK_CPU_0,
>                                 stringlen(TEST_MASK_CPU_0) + 1);
> +
> +       free(buf_out);
> +       free(buf_in);
>  }
>
>  static void test_odp_cpumask_equal(void)
> --
> 1.9.1
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to