Skip to content

Commit b2734a9

Browse files
author
H. Peter Anvin (Intel)
committed
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>
1 parent 9248a85 commit b2734a9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

output/outobj.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@ static void obj_cleanup(void)
711711
nasm_free(pubtmp->name);
712712
nasm_free(pubtmp);
713713
}
714+
nasm_free(segtmp->name);
714715
nasm_free(segtmp->segclass);
715716
nasm_free(segtmp->overlay);
716717
nasm_free(segtmp);

0 commit comments

Comments
 (0)