projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d7be4e
)
tests: Fix a leak in the 'asset' test
author
Thibault Saunier
<tsaunier@igalia.com>
Thu, 28 Mar 2019 14:09:13 +0000
(11:09 -0300)
committer
Thibault Saunier
<tsaunier@igalia.com>
Mon, 15 Apr 2019 20:18:11 +0000
(16:18 -0400)
tests/check/ges/asset.c
patch
|
blob
|
history
diff --git
a/tests/check/ges/asset.c
b/tests/check/ges/asset.c
index
c604c42
..
89ebdfd
100644
(file)
--- 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);