From 9ef5fe2191c5d1d857bc4fe828c15268ba8caa90 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 13 Oct 2016 08:20:35 +0200 Subject: Always use memory management wrappers Use mem_*() wrappers instead of directly accessing libc functions when allocating/deallocating memory. Signed-off-by: Lukas Fleischer --- src/custom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/custom.c') diff --git a/src/custom.c b/src/custom.c index 4e232e4..ef285e9 100644 --- a/src/custom.c +++ b/src/custom.c @@ -754,7 +754,7 @@ static void general_option_edit(int i) break; } - free(buf); + mem_free(buf); } /* General configuration. */ -- cgit v1.2.3-54-g00ecf