diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-04-29 11:06:49 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-05-04 10:21:25 +0300 |
commit | 907ef9b7c026f8958d8f5d0fdf6da4f1b8e199d7 (patch) | |
tree | d7c5d16e142a6df488dc76c4e37241c36f9dbc60 | |
parent | bfe460574efad6056f40b1ffd395c054e4852e89 (diff) | |
download | gstreamer-plugins-base-907ef9b7c026f8958d8f5d0fdf6da4f1b8e199d7.tar.gz |
encoding-profile: Fix caps memory leak
-rw-r--r-- | gst-libs/gst/pbutils/encoding-profile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/pbutils/encoding-profile.c b/gst-libs/gst/pbutils/encoding-profile.c index 54439961d..5cd25416d 100644 --- a/gst-libs/gst/pbutils/encoding-profile.c +++ b/gst-libs/gst/pbutils/encoding-profile.c @@ -1530,6 +1530,7 @@ add_stream_to_profile (GstEncodingContainerProfile * profile, n_streams++; } gst_discoverer_stream_info_list_free (streams); + gst_caps_unref (caps); return n_streams != 0; } else { |