From: nasm-bot f. H. P. A. <hp...@li...> - 2016-05-10 22:42:16
|
Commit-ID: 6a5b3ecb160dbb06a91158d889912a7d370bfcd0 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=6a5b3ecb160dbb06a91158d889912a7d370bfcd0 Author: H. Peter Anvin <hp...@li...> AuthorDate: Tue, 10 May 2016 12:24:04 -0700 Committer: H. Peter Anvin <hp...@li...> CommitDate: Tue, 10 May 2016 15:40:24 -0700 codeview: use nasm_free() instead of plain free() We want to consistently use our allocator wrapper functions whereever possible. Signed-off-by: H. Peter Anvin <hp...@li...> --- output/codeview.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/output/codeview.c b/output/codeview.c index 616f574..84abd7d 100644 --- a/output/codeview.c +++ b/output/codeview.c @@ -285,16 +285,16 @@ static void cv8_cleanup(void) build_type_table(type_sect); if (cv8_state.source_file.name != NULL) - free(cv8_state.source_file.name); + nasm_free(cv8_state.source_file.name); if (cv8_state.cwd != NULL) - free(cv8_state.cwd); + nasm_free(cv8_state.cwd); saa_free(cv8_state.lines); saa_rewind(cv8_state.symbols); while ((sym = saa_rstruct(cv8_state.symbols))) - free(sym->name); + nasm_free(sym->name); saa_free(cv8_state.symbols); } |