libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit 66f8741d44bc0b6d7f5e2ca31880d5eceeb30192
parent e1b9082dcaa9fbf7831717c488acd5e8e0802091
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 21 Dec 2009 11:48:48 +0000

fixing CID 196

Diffstat:
Msrc/plugins/tar_extractor.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/plugins/tar_extractor.c b/src/plugins/tar_extractor.c @@ -515,8 +515,6 @@ EXTRACTOR_tar_extract (const char *data, && ((size - (nameptr - data)) >= namelength) && (1 < namelength)) { - if (NULL != fname) - free (fname); /* * There is an 1-offset because POSIX.1-2001 * field separator is counted in field length. @@ -555,8 +553,6 @@ EXTRACTOR_tar_extract (const char *data, if (0 < length) { - if (NULL != fname) - free (fname); fname = malloc (1 + length); if (NULL != fname) {