Browse Source

lavu/opt: fix memleak in test

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
tags/n2.5
Lukasz Marek 10 years ago
parent
commit
5dc0f607e7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavutil/opt.c

+ 1
- 0
libavutil/opt.c View File

@@ -1818,6 +1818,7 @@ int main(void)
printf("num64=%"PRId64"\n", test_ctx.num64);
printf("flt=%.6f\n", test_ctx.flt);
printf("dbl=%.6f\n", test_ctx.dbl);
av_opt_free(&test_ctx);
}

printf("\nTesting av_set_options_string()\n");


Loading…
Cancel
Save