flate

deflate implementation
git clone git://git.suckless.org/flate
Log | Files | Refs | README

commit b2ae9edbde9f8ec614f3a62029c49271cdd06c21
parent c74af3ca586060b2172459ddcac6055d0358f57a
Author: nsz <nszabolcs@gmail.com>
Date:   Sun,  2 Aug 2009 14:11:43 +0200

inflate_example += free
Diffstat:
inflate_example.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/inflate_example.c b/inflate_example.c @@ -19,6 +19,8 @@ int decompress_stream(FILE *in, FILE *out) { case FlateOk: case FlateError: fprintf(stderr, "in: %d out: %d err: %s\n", nin, nout, s.err); + free(s.in); + free(s.out); return n; case FlateNeedInput: s.nin = fread(s.in, 1, Nin, in);