diff options
Diffstat (limited to 'src/string.c')
-rw-r--r-- | src/string.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/string.c b/src/string.c index 136cb09c..1b9bb64a 100644 --- a/src/string.c +++ b/src/string.c @@ -14,6 +14,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "memory.h" #include "string_utils.h" #include "serd/serd.h" @@ -22,9 +23,9 @@ #include <stdlib.h> void -serd_free(void* const ptr) +serd_free(SerdAllocator* const allocator, void* const ptr) { - free(ptr); + serd_afree(allocator, ptr); } const char* |