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:
077db50
)
test/tracerrecord: unref objects and free string
author
Stefan Sauer
<ensonic@users.sf.net>
Wed, 20 Jan 2016 19:32:24 +0000
(20:32 +0100)
committer
Stefan Sauer
<ensonic@users.sf.net>
Thu, 21 Jan 2016 07:25:24 +0000
(08:25 +0100)
tests/check/gst/gsttracerrecord.c
patch
|
blob
|
history
diff --git
a/tests/check/gst/gsttracerrecord.c
b/tests/check/gst/gsttracerrecord.c
index
f9b44af
..
483484f
100644
(file)
--- a/
tests/check/gst/gsttracerrecord.c
+++ b/
tests/check/gst/gsttracerrecord.c
@@
-86,6
+86,8
@@
GST_START_TEST (serialize_message_logging)
fail_unless_equals_int (g_list_length (messages), 1);
str = (gchar *) messages->data;
fail_unless (str != NULL);
+
+ g_object_unref (tr);
}
GST_END_TEST;
@@
-139,8
+141,10
@@
GST_START_TEST (serialize_static_record)
fail_unless_equals_string (str_val, "test");
fail_unless_equals_int (bool_val, TRUE);
fail_unless_equals_int (enum_val, GST_PAD_SRC);
+ g_free (str_val);
gst_structure_free (s);
+ g_object_unref (tr);
}
GST_END_TEST;