nlecomposition: Don't leak message

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7116>
This commit is contained in:
Edward Hervey 2024-06-29 09:52:23 +02:00 committed by GStreamer Marge Bot
parent 734ca44805
commit 8addeae87b

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;