- markus@cvs.openbsd.org 2001/09/27 11:58:16
[compress.c] mem leak; chombier@mac.com
This commit is contained in:
parent
9b023ed2a2
commit
96f8d143a7
|
@ -1,5 +1,8 @@
|
||||||
20011003
|
20011003
|
||||||
- (bal) CVS ID fix up in version.h
|
- (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
|
20011001
|
||||||
- (stevesk) loginrec.c: fix type conversion problems exposed when using
|
- (stevesk) loginrec.c: fix type conversion problems exposed when using
|
||||||
|
@ -6592,4 +6595,4 @@
|
||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- 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 $
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#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 "log.h"
|
||||||
#include "buffer.h"
|
#include "buffer.h"
|
||||||
|
@ -33,7 +33,7 @@ void
|
||||||
buffer_compress_init_send(int level)
|
buffer_compress_init_send(int level)
|
||||||
{
|
{
|
||||||
if (compress_init_send_called == 1)
|
if (compress_init_send_called == 1)
|
||||||
deflateEnd(&incoming_stream);
|
deflateEnd(&outgoing_stream);
|
||||||
compress_init_send_called = 1;
|
compress_init_send_called = 1;
|
||||||
debug("Enabling compression at level %d.", level);
|
debug("Enabling compression at level %d.", level);
|
||||||
if (level < 1 || level > 9)
|
if (level < 1 || level > 9)
|
||||||
|
|
Loading…
Reference in New Issue