[Spice-devel] [PATCH spice-server] tests: Allows to detect loop leaks in test-leaks

Christophe Fergeau cfergeau at redhat.com
Thu Mar 2 11:10:42 UTC 2017


I'd just squash this one in the previous patch (if you think it's
needed, with a note in the commit log that the added
basic_event_loop_destroy() addition allows to see that this leak is
gone). But feel free to keep it separate if you think it's best.

Acked-by: Christophe Fergeau <cfergeau at redhat.com>

Christophe

On Wed, Mar 01, 2017 at 05:09:55PM +0000, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/tests/test-leaks.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/server/tests/test-leaks.c b/server/tests/test-leaks.c
> index cd96bc8..b8521f4 100644
> --- a/server/tests/test-leaks.c
> +++ b/server/tests/test-leaks.c
> @@ -47,6 +47,7 @@ static void leaks(void)
>      g_assert_cmpint(result, ==, 0);
>  
>      spice_server_destroy(server);
> +    basic_event_loop_destroy();
>  }
>  
>  int main(int argc, char *argv[])
> -- 
> 2.9.3
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170302/4e2762fa/attachment.sig>


More information about the Spice-devel mailing list