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
@ -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…
x
Reference in New Issue
Block a user