archivers/zip.c
changeset 371 56c3a7233f11
parent 369 7c1ede6201cc
child 372 2f438fcb9a94
equal deleted inserted replaced
370:da631e118455 371:56c3a7233f11
  1439 
  1439 
  1440 static void ZIP_dirClose(DirHandle *h)
  1440 static void ZIP_dirClose(DirHandle *h)
  1441 {
  1441 {
  1442     ZIPinfo *zi = (ZIPinfo *) (h->opaque);
  1442     ZIPinfo *zi = (ZIPinfo *) (h->opaque);
  1443     zip_free_entries(zi->entries, zi->entryCount);
  1443     zip_free_entries(zi->entries, zi->entryCount);
  1444     free(zi->entries);
       
  1445     free(zi->archiveName);
  1444     free(zi->archiveName);
  1446     free(zi);
  1445     free(zi);
  1447     free(h);
  1446     free(h);
  1448 } /* ZIP_dirClose */
  1447 } /* ZIP_dirClose */
  1449 
  1448