Fix potential leak of 'outBuff' (reported by scan-build)

dev
Lzu Tao 2019-01-06 23:28:38 +07:00
parent f8c8796dfe
commit de7e3be7fa
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ static int testStreamingAPI(void)
}
if (stream == NULL) {
DISPLAY("ERROR: Could not create dstream\n");
free(outBuff);
return 1;
}