mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
output/outobj.c: free the section name on cleanup
It is a completely unimportant memory leak as the process is about to exit, but it is easy to clean up. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
parent
9248a85f97
commit
b2734a91bd
1 changed files with 1 additions and 0 deletions
|
|
@ -711,6 +711,7 @@ static void obj_cleanup(void)
|
|||
nasm_free(pubtmp->name);
|
||||
nasm_free(pubtmp);
|
||||
}
|
||||
nasm_free(segtmp->name);
|
||||
nasm_free(segtmp->segclass);
|
||||
nasm_free(segtmp->overlay);
|
||||
nasm_free(segtmp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue