From 49d994ddc2be759ef8a0e93739410ba4d37bccd0 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Tue, 21 May 2019 17:36:00 +0200 Subject: [PATCH] testsuite: Fix leak --- testsuite/css/parser/test-css-parser.c | 1 + testsuite/gsk/node-parser.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/testsuite/css/parser/test-css-parser.c b/testsuite/css/parser/test-css-parser.c index c18c3e0585..4ea608ee1d 100644 --- a/testsuite/css/parser/test-css-parser.c +++ b/testsuite/css/parser/test-css-parser.c @@ -101,6 +101,7 @@ diff_with_file (const char *file1, return NULL; } + g_object_unref (process); g_bytes_unref (input); return output; diff --git a/testsuite/gsk/node-parser.c b/testsuite/gsk/node-parser.c index f0e1e7d889..69dba1c49f 100644 --- a/testsuite/gsk/node-parser.c +++ b/testsuite/gsk/node-parser.c @@ -90,6 +90,8 @@ diff_with_file (const char *file1, return NULL; } + g_object_unref (process); + return output; }