diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2010-10-24 00:52:57 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2010-10-24 00:52:57 +0000 |
commit | 8ebf73154842d026d0a27749e2bef1306d74f76f (patch) | |
tree | bf7b8cf2041899750f6d6cc6c552bcdadecc3426 | |
parent | acc24379040f4110f4cf3551c68bced7eb3ea6af (diff) | |
download | perl-URPM-8ebf73154842d026d0a27749e2bef1306d74f76f.tar perl-URPM-8ebf73154842d026d0a27749e2bef1306d74f76f.tar.gz perl-URPM-8ebf73154842d026d0a27749e2bef1306d74f76f.tar.bz2 perl-URPM-8ebf73154842d026d0a27749e2bef1306d74f76f.tar.xz perl-URPM-8ebf73154842d026d0a27749e2bef1306d74f76f.zip |
drop rather useless memset() before free()...
-rw-r--r-- | xfile.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -45,7 +45,6 @@ static lzma_FILE *lzma_open(lzma_ret *lzma_error, FILE *fp, uint64_t memlimit) if (*ret != LZMA_OK) { (void) fclose(lzma_file->fp); - memset(lzma_file, 0, sizeof(*lzma_file)); free(lzma_file); return NULL; } |