]> git.puffer.fish Git - matthieu/frr.git/commit
lib: darr needs to use memory.h for both alloc and free
authorChristian Hopps <chopps@labn.net>
Sat, 11 Nov 2023 19:27:22 +0000 (20:27 +0100)
committerChristian Hopps <chopps@labn.net>
Sat, 11 Nov 2023 19:30:02 +0000 (20:30 +0100)
commita6c8e08ecdbff443cde703a6f360cbe585f0a6ff
tree62480d43ba4aae7f861b521aac8a9cd163a6a9ab
parent19bcca4f2e9a3ee3c8cc16608dcf303241bbf014
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>
lib/darr.c
lib/darr.h