tracers: unlock leaks tracer if already tracking

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7954>
This commit is contained in:
wbartel 2024-11-25 16:28:51 +01:00 committed by GStreamer Marge Bot
parent 5b5c4147d3
commit 6f20cd69fe

View file

@ -1045,6 +1045,7 @@ gst_leaks_tracer_activity_start_tracking (GstLeaksTracer * self)
GST_OBJECT_LOCK (self);
if (self->added) {
GST_ERROR_OBJECT (self, "tracking is already in progress");
GST_OBJECT_UNLOCK (self);
return;
}