Commit a0d688d3 authored by Olivier Crête's avatar Olivier Crête

Don't leak mainloop from gstsrc

parent fb73b847
......@@ -299,6 +299,10 @@ gst_nice_src_dispose (GObject *object)
g_object_unref (src->agent);
src->agent = NULL;
if (src->mainloop)
g_main_loop_unref (src->mainloop);
src->mainloop = NULL;
GST_CALL_PARENT (G_OBJECT_CLASS, dispose, (object));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment