diff options
author | Vineeth TM <vineeth.tm@samsung.com> | 2016-01-25 12:05:12 +0900 |
---|---|---|
committer | Thiago Santos <thiagoss@osg.samsung.com> | 2016-01-25 10:23:21 -0300 |
commit | 9bc4dfd004316f6ff4d6552c9c292537e608b7a0 (patch) | |
tree | 91992cd806de2eb55ca9612cba0746a12b5f6dad | |
parent | 7dee47fe39223d8a98615f03f34d9221f9e8a6c1 (diff) | |
download | gstreamer-plugins-bad-9bc4dfd004316f6ff4d6552c9c292537e608b7a0.tar.gz |
h265parse: Fix buffer memory leak.
While setting caps, codec_data buffer is mapped, but not being unmapped
leading to memory leaks.
https://bugzilla.gnome.org/show_bug.cgi?id=761070
-rw-r--r-- | gst/videoparsers/gsth265parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/videoparsers/gsth265parse.c b/gst/videoparsers/gsth265parse.c index d6496816e..bd7ced622 100644 --- a/gst/videoparsers/gsth265parse.c +++ b/gst/videoparsers/gsth265parse.c @@ -2023,7 +2023,7 @@ gst_h265_parse_set_caps (GstBaseParse * parse, GstCaps * caps) off = nalu.offset + nalu.size; } } - + gst_buffer_unmap (codec_data, &map); } else { GST_DEBUG_OBJECT (h265parse, "have bytestream h265"); /* nothing to pre-process */ |