Fixes #8094.
Unified · Split
| @@ -3278,6 +3278,7 @@ static int open_files(OptionGroupList *l, const char *inout, · 3277 unmodified lines | ||
| 3278 | 3278 | if (ret < 0) { |
| 3279 | 3279 | av_log(NULL, AV_LOG_ERROR, "Error parsing options for %s file " |
| 3280 | 3280 | "%s.\n", inout, g->arg); |
| 3281 | + uninit_options(&o); | |
| 3281 | 3282 | return ret; |
| 3282 | 3283 | } |
| 3283 | 3284 | |