mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
memory: add comment
This commit is contained in:
parent
38d398448a
commit
185b3c6a0d
1 changed files with 1 additions and 0 deletions
|
@ -439,6 +439,7 @@ gst_memory_unref (GstMemory * mem)
|
|||
mem->refcount - 1);
|
||||
|
||||
if (g_atomic_int_dec_and_test (&mem->refcount)) {
|
||||
/* there should be no outstanding mappings */
|
||||
g_return_if_fail (g_atomic_int_get (&mem->state) < 4);
|
||||
#ifndef GST_DISABLE_TRACE
|
||||
_gst_alloc_trace_free (_gst_memory_trace, mem);
|
||||
|
|
Loading…
Reference in a new issue