mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
refcount: unrefing does not invalid object
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
a5cb5a4397
commit
277aec7fcf
1 changed files with 0 additions and 1 deletions
|
@ -28,7 +28,6 @@
|
|||
{ \
|
||||
if(*item && --(*item)->refcount <= 0) \
|
||||
dtor(item); \
|
||||
*item = NULL; \
|
||||
} \
|
||||
\
|
||||
static inline type *prefix##_ref(type **item) \
|
||||
|
|
Loading…
Reference in a new issue