mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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)
|
if ((*link)->pool)
|
||||||
ff_free_pool((*link)->pool);
|
ff_free_pool((*link)->pool);
|
||||||
|
|
||||||
|
avfilter_unref_bufferp(&(*link)->partial_buf);
|
||||||
|
|
||||||
av_freep(link);
|
av_freep(link);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user