diff --git a/tests/legacy.c b/tests/legacy.c index e1cf82f2..4234e8fb 100644 --- a/tests/legacy.c +++ b/tests/legacy.c @@ -87,6 +87,7 @@ static int testStreamingAPI(void) } if (stream == NULL) { DISPLAY("ERROR: Could not create dstream\n"); + free(outBuff); return 1; }