Closed gregorynisbet-google closed 8 months ago
Fix a harmless memory leak in gethost.c. This enables tcsh as a whole to compile with ASAN enabled.
The invocation below will fail without this patch.
$ ./configure CFLAGS=' -g -fsanitize=address ' LDFLAGS=' -fsanitize=address ' && make
committed, thanks!
Fix a harmless memory leak in gethost.c. This enables tcsh as a whole to compile with ASAN enabled.
The invocation below will fail without this patch.
$ ./configure CFLAGS=' -g -fsanitize=address ' LDFLAGS=' -fsanitize=address ' && make