From 971c890c056d600a636df85f9b5e4f09fb780f41 Mon Sep 17 00:00:00 2001 From: Zhao Zhili Date: Mon, 30 Sep 2019 16:00:34 +0800 Subject: [PATCH] avfilter/formats: remove unnecessary unreference --- libavfilter/formats.c | 1 - 1 file changed, 1 deletion(-) 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); \ } \ \