diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:21:47 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:21:47 -0700 |
commit | 7c2a874e50b871d04fbd19501f7b42cff55e5abc (patch) | |
tree | 1879cd29182ababb17cde77cee5ce74505db4006 /example.c | |
parent | a383133c4e7b93113cee912f213cf9502d785fa7 (diff) | |
download | zlib-1.2.0.tar.gz zlib-1.2.0.tar.bz2 zlib-1.2.0.zip |
zlib 1.2.0v1.2.0
Diffstat (limited to 'example.c')
-rw-r--r-- | example.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* example.c -- usage example of the zlib compression library | 1 | /* example.c -- usage example of the zlib compression library |
2 | * Copyright (C) 1995-2002 Jean-loup Gailly. | 2 | * Copyright (C) 1995-2003 Jean-loup Gailly. |
3 | * For conditions of distribution and use, see copyright notice in zlib.h | 3 | * For conditions of distribution and use, see copyright notice in zlib.h |
4 | */ | 4 | */ |
5 | 5 | ||
@@ -551,6 +551,9 @@ int main(argc, argv) | |||
551 | test_dict_deflate(compr, comprLen); | 551 | test_dict_deflate(compr, comprLen); |
552 | test_dict_inflate(compr, comprLen, uncompr, uncomprLen); | 552 | test_dict_inflate(compr, comprLen, uncompr, uncomprLen); |
553 | 553 | ||
554 | free(compr); | ||
555 | free(uncompr); | ||
556 | |||
554 | exit(0); | 557 | exit(0); |
555 | return 0; /* to avoid warning */ | 558 | return 0; /* to avoid warning */ |
556 | } | 559 | } |