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:
parent
081a822b6c
commit
c2271fa7f9
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user