summaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
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);