Do not call DEL operator if DEL operator has been disabled.

This commit is contained in:
Patrick Pelissier committed 2017-11-25 22:47:15 +01:00
1 parent 8717f0ad1a
commit 11ab580b55
1 file changed
+1 -1
+1 -1
View File
@@ -119,7 +119,7 @@
if (shared != NULL) { \
if (atomic_fetch_sub(&(shared->M_C(name, _cpt)), 1) == 1) { \
M_GET_CLEAR oplist (*shared); \
M_GET_DEL oplist (shared); \
M_IF_DISABLED_METHOD(DEL, oplist)(, M_GET_DEL oplist (shared);) \
} \
} \
} \