summaryrefslogtreecommitdiff
path: root/src/modules/moire
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/moire')
-rw-r--r--src/modules/moire/moire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/moire/moire.c b/src/modules/moire/moire.c
index eb4c10b..8616f3b 100644
--- a/src/modules/moire/moire.c
+++ b/src/modules/moire/moire.c
@@ -142,7 +142,7 @@ static int moire_setup(const til_settings_t *settings, til_setting_t **res_setti
if (res_setup) {
moire_setup_t *setup;
- setup = til_setup_new(sizeof(*setup), (void(*)(til_setup_t *))free);
+ setup = til_setup_new(sizeof(*setup), NULL);
if (!setup)
return -ENOMEM;
© All Rights Reserved