From: Seungha Yang Date: Thu, 11 Jun 2020 19:59:47 +0000 (+0900) Subject: codecs: h265picture: Don't leak pic_list GArray X-Git-Tag: 1.19.3~507^2~1765 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2f2ebbe013db7f6107dbe6c3ac107e1b65a819d;p=platform%2Fupstream%2Fgstreamer.git codecs: h265picture: Don't leak pic_list GArray Equivalent to the commit 7b8c071f9c4a675f6b53e373c346d9e1f866f818 Part-of: --- diff --git a/gst-libs/gst/codecs/gsth265picture.c b/gst-libs/gst/codecs/gsth265picture.c index a405e9e..0c7fb87 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); }