commit 2acdb88f53038d3f3a811b166c86273963bfc101
parent 1e7831c07226b4c860a1a27179820fa4725caa9e
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 13 Jun 2010 10:44:33 +0000
fix
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/plugins/zip_extractor.c b/src/plugins/zip_extractor.c
@@ -379,6 +379,7 @@ EXTRACTOR_zip_extract (const unsigned char *data,
info->filename,
strlen (info->filename)+1);
}
+ free (info->filename);
}
if (info->comment != NULL)
{
@@ -392,9 +393,8 @@ EXTRACTOR_zip_extract (const unsigned char *data,
info->comment,
strlen (info->comment)+1);
}
+ free (info->comment);
}
- free (info->filename);
- free (info->comment);
tmp = info;
info = info->next;
free (tmp);