projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38d3984
)
memory: add comment
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 7 Mar 2012 14:34:36 +0000
(15:34 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 8 Mar 2012 09:34:41 +0000
(10:34 +0100)
gst/gstmemory.c
patch
|
blob
|
history
diff --git
a/gst/gstmemory.c
b/gst/gstmemory.c
index
933fc82
..
8cda557
100644
(file)
--- a/
gst/gstmemory.c
+++ b/
gst/gstmemory.c
@@
-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);