Fix memory leak.

Commited in SoC by Bobby Bingham on 2007-07-31 20:11:25

Originally committed as revision 12694 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak 2008-04-04 20:06:19 +00:00
parent b9a7a65ab4
commit 1deec58ba3

View File

@ -75,6 +75,8 @@ static AVFilterContext *create_filter_with_args(const char *filt, void *opaque)
} }
} else av_log(NULL, AV_LOG_ERROR, "error creating filter!\n"); } else av_log(NULL, AV_LOG_ERROR, "error creating filter!\n");
av_free(filter);
return ret; return ret;
fail: fail: