Fixed 2 more memory leaks in xlhtml.c
This commit is contained in:
parent
578f23c51b
commit
9ce4becddf
@ -86,7 +86,7 @@ LDADD = ../cole/libcole.a
|
|||||||
xlhtml_SOURCES = support.c xlhtml.c memwatch.c
|
xlhtml_SOURCES = support.c xlhtml.c memwatch.c
|
||||||
xldump_SOURCES = xldump.c
|
xldump_SOURCES = xldump.c
|
||||||
xlcdump_SOURCES = xlcdump.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
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../config.h
|
CONFIG_HEADER = ../config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
|
@ -617,11 +617,20 @@ int main (int argc, char **argv)
|
|||||||
free(title);
|
free(title);
|
||||||
if (lastUpdated)
|
if (lastUpdated)
|
||||||
free(lastUpdated);
|
free(lastUpdated);
|
||||||
|
|
||||||
|
free(str_array);
|
||||||
|
free(ws_array);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void scan_file(COLEDIRENT *cde, void *_info)
|
void scan_file(COLEDIRENT *cde, void *_info)
|
||||||
{
|
{
|
||||||
U32 count = 0;
|
U32 count = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user