Skip to content
Snippets Groups Projects
Commit 24675193 authored by Vineeth TM's avatar Vineeth TM Committed by Tim-Philipp Müller
Browse files

auparse: Fix event memory leak

Free the event after being handled to prevent memory leak.

https://bugzilla.gnome.org/show_bug.cgi?id=756799
parent cb9ef7a6
No related branches found
No related tags found
No related merge requests found
......@@ -756,6 +756,7 @@ gst_au_parse_src_event (GstPad * pad, GstObject * parent, GstEvent * event)
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_SEEK:
ret = gst_au_parse_handle_seek (auparse, event);
gst_event_unref (event);
break;
default:
ret = gst_pad_event_default (pad, parent, event);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment