fix memory leaks

This commit is contained in:
Przemyslaw Skibinski
2017-02-21 18:17:24 +01:00
parent 3a751edeae
commit 684858e7b7
4 changed files with 22 additions and 16 deletions
+2
View File
@@ -496,6 +496,8 @@ static int basicUnitTests(U32 seed, double compressibility, ZSTD_customMem custo
/* Bug will cause checksum to fail */
if (ZSTD_isError(r)) goto _output_error;
}
ZSTD_freeDStream(zds);
}
DISPLAYLEVEL(3, "OK \n");