diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2016-10-13 08:20:35 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2016-10-13 19:51:43 +0200 |
commit | 9ef5fe2191c5d1d857bc4fe828c15268ba8caa90 (patch) | |
tree | a02c31a337f0b189ea0cab7141901ee455ccc3d9 /src/custom.c | |
parent | da6334cf385ff064a8296e8c0d0e080fa2014eaa (diff) | |
download | 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/custom.c')
-rw-r--r-- | src/custom.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |