mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
Fix memleak :)
This commit is contained in:
parent
2f602601f0
commit
aeefdd86bc
1 changed files with 1 additions and 0 deletions
|
@ -229,6 +229,7 @@ static void *app_function (void *userdata) {
|
||||||
g_main_context_pop_thread_default(data->context);
|
g_main_context_pop_thread_default(data->context);
|
||||||
g_main_context_unref (data->context);
|
g_main_context_unref (data->context);
|
||||||
gst_element_set_state (data->pipeline, GST_STATE_NULL);
|
gst_element_set_state (data->pipeline, GST_STATE_NULL);
|
||||||
|
gst_object_unref (data->video_sink);
|
||||||
gst_object_unref (data->pipeline);
|
gst_object_unref (data->pipeline);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in a new issue