mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
omxvideoenc: fix a memory leak in gst_omx_video_enc_getcaps
https://bugzilla.gnome.org/show_bug.cgi?id=725826
This commit is contained in:
parent
fefc5b7cbc
commit
20cfcda4db
1 changed files with 2 additions and 0 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue