opt: free test_ctx.string at the end.

Makes valgrind happy.
This commit is contained in:
Nicolas George 2012-06-05 14:32:51 +02:00
parent 42b774ab6f
commit 61c266d72f

View File

@ -962,6 +962,7 @@ int main(void)
av_log(&test_ctx, AV_LOG_ERROR, "Error setting options string: '%s'\n", options[i]); av_log(&test_ctx, AV_LOG_ERROR, "Error setting options string: '%s'\n", options[i]);
printf("\n"); printf("\n");
} }
av_freep(&test_ctx.string);
} }
return 0; return 0;