]> git.sesse.net Git - ffmpeg/commit
avfilter/formats: free the correct pointer in ADD_FORMAT()
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Nov 2014 21:13:44 +0000 (22:13 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Nov 2014 21:13:44 +0000 (22:13 +0100)
commit75819fafd8213875af2bfbe5ea821ae5b8d419f9
treeed81c58922fba15699b989f7eef90456e3ebfa1c
parent42f3cb419aa0903eb11ac69ea94e636992a170ca
avfilter/formats: free the correct pointer in ADD_FORMAT()

Also only free it when it was not previously allocated to return to the
state prior to the failing function call

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/formats.c