Ticket #3642: 0001-add-free-input-buffer.patch

File 0001-add-free-input-buffer.patch, 644 bytes (added by coffey, 12 years ago)

patch

  • libavfilter/vf_vignette.c

    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)  
    268268        }
    269269    }
    270270
     271    av_frame_free(&in);
    271272    return ff_filter_frame(outlink, out);
    272273}
    273274