Przeglądaj źródła

Fixed a double-free.

Ryan C. Gordon 24 lat temu
rodzic
commit
55b7638892
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      archivers/zip.c

+ 0 - 1
archivers/zip.c

@@ -1441,7 +1441,6 @@ static void ZIP_dirClose(DirHandle *h)
 {
     ZIPinfo *zi = (ZIPinfo *) (h->opaque);
     zip_free_entries(zi->entries, zi->entryCount);
-    free(zi->entries);
     free(zi->archiveName);
     free(zi);
     free(h);