Merge pull request #726 from jpnurmi/leak

Fix #725: CHTTPSock memory leak - missing deflateEnd() call
This commit is contained in:
Alexey Sokolov
2014-10-29 06:50:00 +00:00
+1
View File
@@ -270,6 +270,7 @@ void CHTTPSock::PrintPage(const CString& sPage) {
} while(zStatus == Z_OK);
Close(Csock::CLT_AFTERWRITE);
deflateEnd(&zStrm);
return;
}