src/physfs_archiver_7z.c
branchstable-3.0
changeset 1690 165d972bc790
parent 1634 5c3248d49cfe
child 1691 c66c9326b05d
equal deleted inserted replaced
1688:62804a972e79 1690:165d972bc790
   288 
   288 
   289     io->destroy(io);
   289     io->destroy(io);
   290     io = NULL;
   290     io = NULL;
   291 
   291 
   292     buf = allocator.Malloc(outSizeProcessed);
   292     buf = allocator.Malloc(outSizeProcessed);
   293     GOTO_IF(rc != SZ_OK, PHYSFS_ERR_OUT_OF_MEMORY, SZIP_openRead_failed);
   293     GOTO_IF(buf == NULL, PHYSFS_ERR_OUT_OF_MEMORY, SZIP_openRead_failed);
   294     memcpy(buf, outBuffer + offset, outSizeProcessed);
   294     memcpy(buf, outBuffer + offset, outSizeProcessed);
   295 
   295 
   296     alloc->Free(alloc, outBuffer);
   296     alloc->Free(alloc, outBuffer);
   297     outBuffer = NULL;
   297     outBuffer = NULL;
   298 
   298