[util] Fix a code-comment disagreement
And the comment was correct :P
This commit is contained in:
parent
8664a5b969
commit
fdba822809
|
@ -121,9 +121,9 @@
|
||||||
#define DARRAY_CLEAR(array) \
|
#define DARRAY_CLEAR(array) \
|
||||||
do { \
|
do { \
|
||||||
__auto_type ar = (array); \
|
__auto_type ar = (array); \
|
||||||
free (ar->a); \
|
|
||||||
ar->size = 0; \
|
ar->size = 0; \
|
||||||
if (ar->grow) { \
|
if (ar->grow) { \
|
||||||
|
free (ar->a); \
|
||||||
ar->maxSize = 0; \
|
ar->maxSize = 0; \
|
||||||
ar->a = 0; \
|
ar->a = 0; \
|
||||||
} \
|
} \
|
||||||
|
|
Loading…
Reference in New Issue