summaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorJoão Paulo Rechi Vita <joao.vita@gmail.com>2008-08-29 11:05:00 -0300
committerLennart Poettering <lennart@poettering.net>2008-09-11 01:12:09 +0300
commit02a9273a2ec8405a6a72e462cb6204e10ebf8c1e (patch)
treedde89587a4976f0092a30ec5e487dcd8dae2a705 /src/modules
parent447e02721725a543d8181904889ed540a95f0425 (diff)
Free mempool
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/module-bt-device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/module-bt-device.c b/src/modules/module-bt-device.c
index aa67d611..0f137b7c 100644
--- a/src/modules/module-bt-device.c
+++ b/src/modules/module-bt-device.c
@@ -934,7 +934,9 @@ void pa__done(pa_module *m) {
if (u->memchunk.memblock)
pa_memblock_unref(u->memchunk.memblock);
- /* TODO: free mempool */
+
+ if (u->mempool)
+ pa_mempool_free(u->mempool);
if (u->smoother)
pa_smoother_free(u->smoother);