/[qemu]/qemu/block-cloop.c
ViewVC logotype

Diff of /qemu/block-cloop.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by bellard, Wed Sep 29 21:29:14 2004 UTC revision 1.2 by bellard, Sun Dec 12 11:24:44 2004 UTC
# Line 1  Line 1 
1  /*  /*
2   * QEMU System Emulator block driver   * QEMU Block driver for CLOOP images
3   *   *
4   * Copyright (c) 2004 Johannes E. Schindelin   * Copyright (c) 2004 Johannes E. Schindelin
5   *   *
# Line 149  static void cloop_close(BlockDriverState Line 149  static void cloop_close(BlockDriverState
149  {  {
150      BDRVCloopState *s = bs->opaque;      BDRVCloopState *s = bs->opaque;
151      close(s->fd);      close(s->fd);
152        if(s->n_blocks>0)
153            free(s->offsets);
154      free(s->compressed_block);      free(s->compressed_block);
155      free(s->uncompressed_block);      free(s->uncompressed_block);
156      inflateEnd(&s->zstream);      inflateEnd(&s->zstream);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26