Skip to content

Commit 0b602f9

Browse files
committed
Don't call inflateEnd if inflateCopy fails.
1 parent 9e4c858 commit 0b602f9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cups/http.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// HTTP routines for CUPS.
33
//
4-
// Copyright © 2022-2025 by OpenPrinting.
4+
// Copyright © 2022-2026 by OpenPrinting.
55
// Copyright © 2007-2021 by Apple Inc.
66
// Copyright © 1997-2007 by Easy Software Products, all rights reserved.
77
//
@@ -1976,7 +1976,6 @@ httpPeek(http_t *http, // I - HTTP connection
19761976
{
19771977
DEBUG_puts("2httpPeek: Unable to copy decompressor stream.");
19781978
http->error = ENOMEM;
1979-
inflateEnd(&stream);
19801979
return (-1);
19811980
}
19821981

0 commit comments

Comments
 (0)