codecs: h264dpb: Don't leak pic_list GArray

The contents was cleared, but the array was never released.
This commit is contained in:
Nicolas Dufresne 2020-03-27 13:05:41 -04:00
parent 4cb871eb53
commit 7b8c071f9c

View file

@ -173,6 +173,7 @@ gst_h264_dpb_free (GstH264Dpb * dpb)
g_return_if_fail (dpb != NULL);
gst_h264_dpb_clear (dpb);
g_array_unref (dpb->pic_list);
g_free (dpb);
}