Add FREE operator.

Use it instead of DEL if necessary.
This commit is contained in:
Patrick Pelissier committed 2017-04-06 01:21:11 +02:00
1 parent 7b3b8a261b
commit 4991386bb7
3 files changed
+12 -5

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@
{ \
assert (v != NULL && v->size <= v->alloc); \
M_C3(array_, name, _clean)(v); \
M_GET_DEL oplist(v->ptr); \
M_GET_FREE oplist(v->ptr); \
v->alloc = 0; \
v->ptr = NULL; \
} \