mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
pad: remove unref, the object is NULL
This commit is contained in:
parent
b0d106fefa
commit
189980ec56
1 changed files with 0 additions and 1 deletions
|
@ -52,7 +52,6 @@ GST_START_TEST (test_link)
|
||||||
srct = gst_pad_get_pad_template (src);
|
srct = gst_pad_get_pad_template (src);
|
||||||
fail_unless (srct == NULL);
|
fail_unless (srct == NULL);
|
||||||
ASSERT_OBJECT_REFCOUNT (src, "source pad", 1);
|
ASSERT_OBJECT_REFCOUNT (src, "source pad", 1);
|
||||||
gst_object_unref (srct);
|
|
||||||
|
|
||||||
/* clean up */
|
/* clean up */
|
||||||
ASSERT_OBJECT_REFCOUNT (src, "source pad", 1);
|
ASSERT_OBJECT_REFCOUNT (src, "source pad", 1);
|
||||||
|
|
Loading…
Reference in a new issue