From 277aec7fcfe20548fa1a18e1a089f63b5938d983 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 17 Aug 2008 11:57:54 +0200 Subject: [PATCH] refcount: unrefing does not invalid object Signed-off-by: Julien Danjou --- common/refcount.h | 1 - 1 file changed, 1 deletion(-) diff --git a/common/refcount.h b/common/refcount.h index 436f85307..bcc632815 100644 --- a/common/refcount.h +++ b/common/refcount.h @@ -28,7 +28,6 @@ { \ if(*item && --(*item)->refcount <= 0) \ dtor(item); \ - *item = NULL; \ } \ \ static inline type *prefix##_ref(type **item) \