mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
v4l2: allocator: Fix unref log/trace on memory release
Use gst_object_unref() instead of g_object_unref() in gst_v4l2_allocator_release(), so refcounting log and tracer get to know about this unref. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6551>
This commit is contained in:
parent
eedfb5e6d7
commit
6f9872cb56
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ gst_v4l2_allocator_release (GstV4l2Allocator * allocator, GstV4l2Memory * mem)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Keep last, allocator may be freed after this call */
|
/* Keep last, allocator may be freed after this call */
|
||||||
g_object_unref (allocator);
|
gst_object_unref (allocator);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue