diff options
author | Jose Antonio Santos Cadenas <santoscadenas@gmail.com> | 2014-04-09 10:15:33 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2014-04-12 12:20:10 +0100 |
commit | 03a093c97c1af8d7cbc71672c9d3ad77f50c38fa (patch) | |
tree | 66cc817bf6991b8f8a4d257cf5c99efe6cee2296 | |
parent | 70eca443ec43fa587219f252653f439c2d8bd895 (diff) | |
download | gstreamer-03a093c97c1af8d7cbc71672c9d3ad77f50c38fa.tar.gz |
baseparse: Fix memory leak
Queued frames were not released after being pushed, this
caused a leak of the GstBaseParseFrame structure.
https://bugzilla.gnome.org/show_bug.cgi?id=727883
-rw-r--r-- | libs/gst/base/gstbaseparse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c index 07e0e6a96a..ec017386ac 100644 --- a/libs/gst/base/gstbaseparse.c +++ b/libs/gst/base/gstbaseparse.c @@ -2125,6 +2125,7 @@ gst_base_parse_handle_and_push_frame (GstBaseParse * parse, while ((queued_frame = g_queue_pop_head (&parse->priv->queued_frames))) { gst_base_parse_push_frame (parse, queued_frame); + gst_base_parse_frame_free (queued_frame); } } |