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/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/io.c') diff --git a/src/io.c b/src/io.c index e0a8502..2dd5b34 100644 --- a/src/io.c +++ b/src/io.c @@ -821,8 +821,8 @@ void io_reload_data(void) wins_launch_external(arg_todo); } - xfree(path_apts_backup); - xfree(path_todo_backup); + mem_free(path_apts_backup); + mem_free(path_todo_backup); /* * We do not directly write to the data files here; -- cgit v1.2.3-54-g00ecf