lavfi: free partial audio buffers when destroying links.

Fix a memleak that the recent change of architecture made
more likely to happen.
This commit is contained in:
Nicolas George 2012-08-22 23:31:49 +02:00
parent 081a822b6c
commit c2271fa7f9

View File

@ -156,6 +156,8 @@ void avfilter_link_free(AVFilterLink **link)
if ((*link)->pool)
ff_free_pool((*link)->pool);
avfilter_unref_bufferp(&(*link)->partial_buf);
av_freep(link);
}