mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
tests: Fix a leak in the 'asset' test
This commit is contained in:
parent
7d7be4eecd
commit
49b004fe30
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue