From 367732832faaf1bac4ece37cf7fef8c911e16312 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 5 Jun 2011 13:18:17 +0200 Subject: lavf,lavc: free avoptions in a generic way. It's simpler and less error-prone. Fixes some memleaks along the way. --- libavdevice/vfwcap.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavdevice/vfwcap.c') diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c index 5dd873bdcb..95dd4c34b8 100644 --- a/libavdevice/vfwcap.c +++ b/libavdevice/vfwcap.c @@ -234,9 +234,6 @@ static int vfw_read_close(AVFormatContext *s) pktl = next; } - av_freep(&ctx->video_size); - av_freep(&ctx->framerate); - return 0; } -- cgit v1.2.3