refcount: unrefing does not invalid object

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-17 11:57:54 +02:00
parent a5cb5a4397
commit 277aec7fcf

View file

@ -28,7 +28,6 @@
{ \
if(*item && --(*item)->refcount <= 0) \
dtor(item); \
*item = NULL; \
} \
\
static inline type *prefix##_ref(type **item) \