Diff for /qemu/block-cloop.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2018/04/24 16:37:52 version 1.1.1.2, 2018/04/24 16:40:35
Line 32  typedef struct BDRVCloopState { Line 32  typedef struct BDRVCloopState {
     uint64_t* offsets;      uint64_t* offsets;
     uint32_t sectors_per_block;      uint32_t sectors_per_block;
     uint32_t current_block;      uint32_t current_block;
     char* compressed_block;      uint8_t *compressed_block;
     char* uncompressed_block;      uint8_t *uncompressed_block;
     z_stream zstream;      z_stream zstream;
 } BDRVCloopState;  } BDRVCloopState;
   
Line 89  cloop_close: Line 89  cloop_close:
     }      }
   
     /* initialize zlib engine */      /* initialize zlib engine */
     if(!(s->compressed_block=(char*)malloc(max_compressed_block_size+1)))      if(!(s->compressed_block = malloc(max_compressed_block_size+1)))
         goto cloop_close;          goto cloop_close;
     if(!(s->uncompressed_block=(char*)malloc(s->block_size)))      if(!(s->uncompressed_block = malloc(s->block_size)))
         goto cloop_close;          goto cloop_close;
     if(inflateInit(&s->zstream) != Z_OK)      if(inflateInit(&s->zstream) != Z_OK)
         goto cloop_close;          goto cloop_close;

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


unix.superglobalmegacorp.com