From 96f8d143a70d671aa224cbb769980414a312a894 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Wed, 3 Oct 2001 17:07:47 +0000 Subject: - markus@cvs.openbsd.org 2001/09/27 11:58:16 [compress.c] mem leak; chombier@mac.com --- compress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compress.c') diff --git a/compress.c b/compress.c index 3e41b3d8..a779af6d 100644 --- a/compress.c +++ b/compress.c @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: compress.c,v 1.14 2001/04/05 10:39:01 markus Exp $"); +RCSID("$OpenBSD: compress.c,v 1.15 2001/09/27 11:58:16 markus Exp $"); #include "log.h" #include "buffer.h" @@ -33,7 +33,7 @@ void buffer_compress_init_send(int level) { if (compress_init_send_called == 1) - deflateEnd(&incoming_stream); + deflateEnd(&outgoing_stream); compress_init_send_called = 1; debug("Enabling compression at level %d.", level); if (level < 1 || level > 9) -- cgit v1.2.3