Make avfilter_graph_parse() not free the input graph
Make avfilter_graph_parse() only release the internal structures
allocated during the parsing, and leave to free the graph itself to
the calling code.
This approach looks cleaner, as the graph is not allocated by the
Signed-off-by: Mans Rullgard <email@example.com>
(cherry picked from commit e8e5dde779fca80d86e00baea26d1baca333f4c0)