Skip to content

h265decoder: Fix a memory leak because of slice header.

He Junyan requested to merge He_Junyan/gstreamer:h265_decoder_nalu_leak into main

The gst_h265_slice_hdr_free() should free the slice header just parsed, not the priv->current_slice. Or, the memory leak will happen because we do not free the slices in priv->nalu list.

Merge request reports