mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
Fix potential leak of 'outBuff' (reported by scan-build)
This commit is contained in:
@ -87,6 +87,7 @@ static int testStreamingAPI(void)
|
||||
}
|
||||
if (stream == NULL) {
|
||||
DISPLAY("ERROR: Could not create dstream\n");
|
||||
free(outBuff);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user