Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8ed565f authored by Mathieu Chartier's avatar Mathieu Chartier Committed by Android Git Automerger
Browse files

am f27f9e10: am 51ebffd8: Merge "Add free to CloseArchive."

* commit 'f27f9e10':
  Add free to CloseArchive.
parents 933f0b88 f27f9e10
Loading
Loading
Loading
Loading
+1 −7
Original line number Original line Diff line number Diff line
@@ -591,13 +591,7 @@ void CloseArchive(ZipArchiveHandle handle) {
    archive->directory_map->release();
    archive->directory_map->release();
  }
  }
  free(archive->hash_table);
  free(archive->hash_table);

  free(archive);
  /* ensure nobody tries to use the ZipArchive after it's closed */
  archive->directory_offset = -1;
  archive->fd = -1;
  archive->num_entries = -1;
  archive->hash_table_size = -1;
  archive->hash_table = NULL;
}
}


static int32_t UpdateEntryFromDataDescriptor(int fd,
static int32_t UpdateEntryFromDataDescriptor(int fd,