summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2020-06-12 04:59:47 +0900
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>2020-06-11 23:42:47 +0000
commita2f2ebbe013db7f6107dbe6c3ac107e1b65a819d (patch)
tree0bfc176866703ba92a0ce0196e0de28a81409d82
parentc7095abd31a2828ef7832744bc2e221650c6502e (diff)
downloadgstreamer-plugins-bad-a2f2ebbe013db7f6107dbe6c3ac107e1b65a819d.tar.gz
codecs: h265picture: Don't leak pic_list GArray
Equivalent to the commit 7b8c071f9c4a675f6b53e373c346d9e1f866f818 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1337>
-rw-r--r--gst-libs/gst/codecs/gsth265picture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/codecs/gsth265picture.c b/gst-libs/gst/codecs/gsth265picture.c
index a405e9e9d..0c7fb8714 100644
--- a/gst-libs/gst/codecs/gsth265picture.c
+++ b/gst-libs/gst/codecs/gsth265picture.c
@@ -171,6 +171,7 @@ gst_h265_dpb_free (GstH265Dpb * dpb)
g_return_if_fail (dpb != NULL);
gst_h265_dpb_clear (dpb);
+ g_array_unref (dpb->pic_list);
g_free (dpb);
}