summaryrefslogtreecommitdiff
path: root/libavfilter/formats.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/formats.c')
-rw-r--r--libavfilter/formats.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavfilter/formats.c b/libavfilter/formats.c
index e6d27f45f3..33c64668a0 100644
--- a/libavfilter/formats.c
+++ b/libavfilter/formats.c
@@ -317,7 +317,6 @@ do { \
void *oldf = *f; \
\
if (!(*f) && !(*f = av_mallocz(sizeof(**f)))) { \
- unref_fn(f); \
return AVERROR(ENOMEM); \
} \
\