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:
parent
b9a7a65ab4
commit
1deec58ba3
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user