projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
load_one_re_filterfile(): Fix format specifier in a log message
[privoxy.git]
/
parsers.c
diff --git
a/parsers.c
b/parsers.c
index
9b4a129
..
48195f8
100644
(file)
--- a/
parsers.c
+++ b/
parsers.c
@@
-68,7
+68,7
@@
#include <brotli/decode.h>
#endif
#include <brotli/decode.h>
#endif
-#if !defined(_WIN32)
&& !defined(__OS2__)
+#if !defined(_WIN32)
#include <unistd.h>
#endif
#include <unistd.h>
#endif
@@
-727,6
+727,7
@@
jb_err decompress_iob(struct client_state *csp)
{
log_error(LOG_LEVEL_ERROR, "Buffer limit reached while decompressing iob");
freez(buf);
{
log_error(LOG_LEVEL_ERROR, "Buffer limit reached while decompressing iob");
freez(buf);
+ inflateEnd(&zstr);
return JB_ERR_MEMORY;
}
return JB_ERR_MEMORY;
}
@@
-745,6
+746,7
@@
jb_err decompress_iob(struct client_state *csp)
{
log_error(LOG_LEVEL_ERROR, "Out of memory decompressing iob");
freez(buf);
{
log_error(LOG_LEVEL_ERROR, "Out of memory decompressing iob");
freez(buf);
+ inflateEnd(&zstr);
return JB_ERR_MEMORY;
}
else
return JB_ERR_MEMORY;
}
else