diff options
| author | Christian Hopps <chopps@labn.net> | 2023-11-11 20:27:22 +0100 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-11-11 20:30:02 +0100 |
| commit | a6c8e08ecdbff443cde703a6f360cbe585f0a6ff (patch) | |
| tree | 62480d43ba4aae7f861b521aac8a9cd163a6a9ab /lib/darr.c | |
| parent | 19bcca4f2e9a3ee3c8cc16608dcf303241bbf014 (diff) | |
lib: darr needs to use memory.h for both alloc and free
Was using XREALLOC() and then free(). instant "memleaks".
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/darr.c')
| -rw-r--r-- | lib/darr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/darr.c b/lib/darr.c index bef51b8fc4..282e0dc5dc 100644 --- a/lib/darr.c +++ b/lib/darr.c @@ -9,7 +9,7 @@ #include "darr.h" #include "memory.h" -DEFINE_MTYPE_STATIC(LIB, DARR, "Dynamic Array"); +DEFINE_MTYPE(LIB, DARR, "Dynamic Array"); static uint _msb(uint count) { |
