Fixed 2 more memory leaks in xlhtml.c

This commit is contained in:
slidedraw 2002-04-05 00:43:44 +00:00
parent 578f23c51b
commit 9ce4becddf
2 changed files with 10 additions and 1 deletions

View File

@ -86,7 +86,7 @@ LDADD = ../cole/libcole.a
xlhtml_SOURCES = support.c xlhtml.c memwatch.c
xldump_SOURCES = xldump.c
xlcdump_SOURCES = xlcdump.c
AM_CFLAGS = -Wall -Wshadow -Wcast-align -Wpointer-arith
AM_CFLAGS = -Wall -Wshadow -Wcast-align -Wpointer-arith -DMEMWATCH
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES =

View File

@ -617,11 +617,20 @@ int main (int argc, char **argv)
free(title);
if (lastUpdated)
free(lastUpdated);
free(str_array);
free(ws_array);
return 0;
}
void scan_file(COLEDIRENT *cde, void *_info)
{
U32 count = 0;