mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +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/6556>
This commit is contained in:
parent
4ea7d5ae64
commit
993d8b89bc
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 */
|
||||
g_object_unref (allocator);
|
||||
gst_object_unref (allocator);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue