projects
/
platform
/
upstream
/
gst-editing-services.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: Fix a leak in the 'asset' test
[platform/upstream/gst-editing-services.git]
/
tests
/
check
/
ges
/
asset.c
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);