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>
This commit is contained in:
Lukas Fleischer
2016-10-13 08:20:35 +02:00
parent da6334cf38
commit 9ef5fe2191
7 changed files with 18 additions and 18 deletions

View File

@@ -754,7 +754,7 @@ static void general_option_edit(int i)
break;
}
free(buf);
mem_free(buf);
}
/* General configuration. */