mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
curl: fixed some memory leaks in the plugin and the unit tests
https://bugzilla.gnome.org/show_bug.cgi?id=681117 https://bugzilla.gnome.org/show_bug.cgi?id=681115
This commit is contained in:
parent
10ba44c811
commit
a7037cd0e3
3 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue