From 98e4d9d9bf7fdb1ecff4c5e0d871f313c0b3b046 Mon Sep 17 00:00:00 2001
From: Masa Utashiro <rollingcam@hotmail.co.jp>
Date: Fri, 16 May 2014 09:56:11 +0900
Subject: [PATCH] add free input buffer
To prevent memory leak.
---
libavfilter/vf_vignette.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/vf_vignette.c b/libavfilter/vf_vignette.c
index 8ce7b7e..420e733 100644
|
a
|
b
|
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
| 268 | 268 | } |
| 269 | 269 | } |
| 270 | 270 | |
| | 271 | av_frame_free(&in); |
| 271 | 272 | return ff_filter_frame(outlink, out); |
| 272 | 273 | } |
| 273 | 274 | |