lavfi: free partial audio buffers when destroying links.

Fix a memleak that the recent change of architecture made
more likely to happen.
pull/28/head
Nicolas George 13 years ago
parent 081a822b6c
commit c2271fa7f9
  1. 2
      libavfilter/avfilter.c

@ -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…
Cancel
Save