Fix potential leak of 'outBuff' (reported by scan-build)
This commit is contained in:
1 parent
f8c8796dfe
commit
de7e3be7fa
1 file changed
+1
@@ -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