nlecomposition: Don't leak message

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7120>
This commit is contained in:
Edward Hervey 2024-06-29 09:52:23 +02:00 committed by Backport Bot
parent 2d38c289f6
commit ef53d8c7b7

View file

@ -1076,7 +1076,7 @@ nle_composition_handle_message (GstBin * bin, GstMessage * message)
g_atomic_rc_box_release (q); g_atomic_rc_box_release (q);
return; goto drop;
} else if (gst_structure_has_name (structure, } else if (gst_structure_has_name (structure,
QUERY_PIPELINE_POSITION_STRUCT_NAME)) { QUERY_PIPELINE_POSITION_STRUCT_NAME)) {
NleCompositionQueryPipelinePosition *q; NleCompositionQueryPipelinePosition *q;