[Spice-devel] [PATCH spice-common] test-overflow: Remove a leak in the test

Eduardo Lima (Etrunko) etrunko at redhat.com
Thu May 17 14:11:45 UTC 2018


On 17/05/18 11:09, Frediano Ziglio wrote:
> This causes errors if Valgrind or sanitizer or similar memory
> leak checkers are used.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  tests/test-overflow.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/test-overflow.c b/tests/test-overflow.c
> index 0a5bdd2..c972a25 100644
> --- a/tests/test-overflow.c
> +++ b/tests/test-overflow.c
> @@ -80,6 +80,7 @@ int main(void)
>          free_output(out);
>      }
>      free(msg);
> +    spice_marshaller_destroy(m);
>  
>      return 0;
>  }
> 

Acked-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>



-- 
Eduardo de Barros Lima (Etrunko)
Software Engineer - RedHat
etrunko at redhat.com


More information about the Spice-devel mailing list