diff options
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmdutils.c b/cmdutils.c index ed856301d7..f6f258a9d9 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -301,6 +301,7 @@ int parse_option(void *optctx, const char *opt, const char *arg, if (po->flags & OPT_STRING) { char *str; str = av_strdup(arg); +// av_freep(dst); *(char **)dst = str; } else if (po->flags & OPT_BOOL) { *(int *)dst = bool_val; |