summaryrefslogtreecommitdiff
path: root/tests/test-gstreamer.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-gstreamer.c')
-rw-r--r--tests/test-gstreamer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-gstreamer.c b/tests/test-gstreamer.c
index 998baaf..142ecc9 100644
--- a/tests/test-gstreamer.c
+++ b/tests/test-gstreamer.c
@@ -77,6 +77,8 @@ sink_chain_list_function (GstPad * pad, GstObject * parent,
g_main_loop_quit (loop);
}
+ gst_buffer_list_unref (list);
+
return GST_FLOW_OK;
}
@@ -93,6 +95,8 @@ sink_chain_function (GstPad * pad, GstObject * parent, GstBuffer * buffer)
g_main_loop_quit (loop);
}
+ gst_buffer_unref (buffer);
+
return GST_FLOW_OK;
}