aboutsummaryrefslogtreecommitdiffstats
path: root/src/io.c
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-10-13 08:20:35 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2016-10-13 19:51:43 +0200
commit9ef5fe2191c5d1d857bc4fe828c15268ba8caa90 (patch)
treea02c31a337f0b189ea0cab7141901ee455ccc3d9 /src/io.c
parentda6334cf385ff064a8296e8c0d0e080fa2014eaa (diff)
downloadcalcurse-9ef5fe2191c5d1d857bc4fe828c15268ba8caa90.tar.gz
calcurse-9ef5fe2191c5d1d857bc4fe828c15268ba8caa90.zip
Always use memory management wrappers
Use mem_*() wrappers instead of directly accessing libc functions when allocating/deallocating memory. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c4
1 files changed, 2 insertions, 2 deletions
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;