[compress.c]
     mem leak; chombier@mac.com
This commit is contained in:
Ben Lindstrom 2001-10-03 17:07:47 +00:00
parent 9b023ed2a2
commit 96f8d143a7
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,8 @@
20011003
- (bal) CVS ID fix up in version.h
- markus@cvs.openbsd.org 2001/09/27 11:58:16
[compress.c]
mem leak; chombier@mac.com
20011001
- (stevesk) loginrec.c: fix type conversion problems exposed when using
@ -6592,4 +6595,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1569 2001/10/03 17:03:54 mouring Exp $
$Id: ChangeLog,v 1.1570 2001/10/03 17:07:47 mouring Exp $

View File

@ -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)