mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 06:58:49 +00:00
tracers: unlock leaks tracer if already tracking
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7954>
This commit is contained in:
parent
5b5c4147d3
commit
6f20cd69fe
1 changed files with 1 additions and 0 deletions
|
@ -1045,6 +1045,7 @@ gst_leaks_tracer_activity_start_tracking (GstLeaksTracer * self)
|
||||||
GST_OBJECT_LOCK (self);
|
GST_OBJECT_LOCK (self);
|
||||||
if (self->added) {
|
if (self->added) {
|
||||||
GST_ERROR_OBJECT (self, "tracking is already in progress");
|
GST_ERROR_OBJECT (self, "tracking is already in progress");
|
||||||
|
GST_OBJECT_UNLOCK (self);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue