summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2014-03-05 18:54:05 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-03-06 20:37:02 +0100
commit20cfcda4dba3c4e362793e16514286e06bec8c67 (patch)
treeda19b6845af2877e93fd853c754f9ccdb6ccfbd8
parentfefc5b7cbc639d284e0ef267cc51aa49ef1e7786 (diff)
omxvideoenc: fix a memory leak in gst_omx_video_enc_getcaps
https://bugzilla.gnome.org/show_bug.cgi?id=725826
-rw-r--r--omx/gstomxvideoenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/omx/gstomxvideoenc.c b/omx/gstomxvideoenc.c
index c2cd368..07c9d77 100644
--- a/omx/gstomxvideoenc.c
+++ b/omx/gstomxvideoenc.c
@@ -1797,6 +1797,8 @@ gst_omx_video_enc_getcaps (GstVideoEncoder * encoder, GstCaps * filter)
"format", G_TYPE_STRING,
gst_video_format_to_string (map->format), NULL));
}
+ g_list_free_full (negotiation_map,
+ (GDestroyNotify) video_negotiation_map_free);
if (!gst_caps_is_empty (comp_supported_caps)) {
GstCaps *ret =