From 49b004fe30713894dba7d18d1833d8836ff14bda Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 28 Mar 2019 11:09:13 -0300 Subject: [PATCH] tests: Fix a leak in the 'asset' test --- tests/check/ges/asset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/check/ges/asset.c b/tests/check/ges/asset.c index c604c42c67..89ebdfddea 100644 --- a/tests/check/ges/asset.c +++ b/tests/check/ges/asset.c @@ -37,6 +37,7 @@ source_asset_created (GObject * source, GAsyncResult * res, if (GPOINTER_TO_INT (expected_ok)) { fail_unless (a != NULL); fail_unless (error == NULL); + g_object_unref (a); } else { fail_unless (a == NULL); assert_equals_int (error->domain, GST_RESOURCE_ERROR);