mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-23 07:55:27 +01:00
+ Fixed double-free for list file cache
+ Fixed bug with patch prefixes + Fixed bug in SFileDecompression2
This commit is contained in:
@@ -1042,7 +1042,7 @@ int WINAPI SCompDecompress2(void * pvOutBuffer, int * pcbOutBuffer, void * pvInB
|
||||
}
|
||||
|
||||
// Apply the first decompression method
|
||||
nResult = pfnDecompress1(pbWorkBuffer, &cbWorkBuffer, pvInBuffer, cbInBuffer);
|
||||
nResult = pfnDecompress1(pbWorkBuffer, &cbWorkBuffer, pbInBuffer, cbInBuffer);
|
||||
|
||||
// Apply the second decompression method, if any
|
||||
if(pfnDecompress2 != NULL && nResult != 0)
|
||||
|
||||
Reference in New Issue
Block a user