codecs: h265picture: Don't leak pic_list GArray

Equivalent to the commit 7b8c071f9c

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1337>
This commit is contained in:
Seungha Yang 2020-06-12 04:59:47 +09:00 committed by GStreamer Merge Bot
parent c7095abd31
commit a2f2ebbe01

View file

@ -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);
}