Fix leak in avfilter_graph_add_filter().
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 18 Apr 2010 20:10:43 +0000 (20:10 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 18 Apr 2010 20:10:43 +0000 (20:10 +0000)
commit3748b2b8e8bcedba2de7fe826c4094169a885840
tree54ef012e409fe11f89ac64402e69864b63ad8d56
parentfc8fa007fb6099643a1f742a162e5e5eda760fd6
Fix leak in avfilter_graph_add_filter().

In case of reallocation failure the pointer to the original filter
array was lost. The correct behavior seems to just keep the old array
and count.

Originally committed as revision 22905 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavfilter/avfiltergraph.c