cmdutils: fix codec-specific options from preset
Using a preset file caused the address of a stack variable to be stored in opt_names/values. This change causes the strings to be dup'd then freed in uninit_opts. Signed-off-by: NRonald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 60ff9de6)
Showing
想要评论请 注册 或 登录