[Spice-commits] tests/test-overflow.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu May 17 14:17:19 UTC 2018


 tests/test-overflow.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 129bd0476684d6e07bffd372399b2bc00e83891a
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Thu May 17 15:09:41 2018 +0100

    test-overflow: Remove a leak in the test
    
    This causes errors if Valgrind or sanitizer or similar memory
    leak checkers are used.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>

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;
 }


More information about the Spice-commits mailing list