diff --git a/ext/curl/gstcurlbasesink.c b/ext/curl/gstcurlbasesink.c index 96b554e329..5e1faf22ea 100644 --- a/ext/curl/gstcurlbasesink.c +++ b/ext/curl/gstcurlbasesink.c @@ -377,7 +377,8 @@ gst_curl_base_sink_event (GstBaseSink * bsink, GstEvent * event) default: break; } - return TRUE; + + return GST_BASE_SINK_CLASS (parent_class)->event (bsink, event); } static gboolean diff --git a/ext/curl/gstcurlsmtpsink.c b/ext/curl/gstcurlsmtpsink.c index 6bf78efd13..adf1739694 100644 --- a/ext/curl/gstcurlsmtpsink.c +++ b/ext/curl/gstcurlsmtpsink.c @@ -203,7 +203,8 @@ gst_curl_smtp_sink_event (GstBaseSink * bsink, GstEvent * event) default: break; } - return TRUE; + + return GST_BASE_SINK_CLASS (parent_class)->event (bsink, event); } static void diff --git a/tests/check/elements/curlfilesink.c b/tests/check/elements/curlfilesink.c index 9e1ddea69b..66dabe1828 100644 --- a/tests/check/elements/curlfilesink.c +++ b/tests/check/elements/curlfilesink.c @@ -384,6 +384,7 @@ GST_START_TEST (test_create_dirs) g_free (sub_sub_dir); g_free (sub_dir); g_free (tmp_dir); + g_free (location); } GST_END_TEST; @@ -413,6 +414,7 @@ GST_START_TEST (test_missing_path) g_free (res_location); g_free (res_file_name); + g_free (file_name); /* start playing */ ASSERT_SET_STATE (sink, GST_STATE_PLAYING, GST_STATE_CHANGE_ASYNC);