Free mempool

This commit is contained in:
João Paulo Rechi Vita 2008-08-29 11:05:00 -03:00 committed by Lennart Poettering
parent 447e027217
commit 02a9273a2e

View file

@ -934,7 +934,9 @@ void pa__done(pa_module *m) {
if (u->memchunk.memblock) if (u->memchunk.memblock)
pa_memblock_unref(u->memchunk.memblock); pa_memblock_unref(u->memchunk.memblock);
/* TODO: free mempool */
if (u->mempool)
pa_mempool_free(u->mempool);
if (u->smoother) if (u->smoother)
pa_smoother_free(u->smoother); pa_smoother_free(u->smoother);