Fix #725: CHTTPSock memory leak - missing deflateEnd() call
This commit is contained in:
1 parent
917924c51a
commit
b822ea8e16
1 file changed
+1
@@ -270,6 +270,7 @@ void CHTTPSock::PrintPage(const CString& sPage) {
|
||||
} while(zStatus == Z_OK);
|
||||
|
||||
Close(Csock::CLT_AFTERWRITE);
|
||||
deflateEnd(&zStrm);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user