diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c index 14bd7dce27..3754a22a40 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth265parser.c @@ -3168,6 +3168,7 @@ gst_h265_parser_parse_sei_message (GstH265Parser * parser, error: GST_WARNING ("error parsing \"Sei message\""); + gst_h265_sei_free (sei); return GST_H265_PARSER_ERROR; }