Commit 971c890c authored by Zhao Zhili's avatar Zhao Zhili Committed by Paul B Mahol

avfilter/formats: remove unnecessary unreference

parent dd9e6d07
...@@ -317,7 +317,6 @@ do { \ ...@@ -317,7 +317,6 @@ do { \
void *oldf = *f; \ void *oldf = *f; \
\ \
if (!(*f) && !(*f = av_mallocz(sizeof(**f)))) { \ if (!(*f) && !(*f = av_mallocz(sizeof(**f)))) { \
unref_fn(f); \
return AVERROR(ENOMEM); \ return AVERROR(ENOMEM); \
} \ } \
\ \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment