From 11ab580b55963082d6e0615bbdcc5fab933f8f2e Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 25 Nov 2017 22:47:15 +0100 Subject: [PATCH] Do not call DEL operator if DEL operator has been disabled. --- m-i-shared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-i-shared.h b/m-i-shared.h index b45ad7ec..51d808ed 100644 --- a/m-i-shared.h +++ b/m-i-shared.h @@ -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);) \ } \ } \ } \