summaryrefslogtreecommitdiff
path: root/src/modules/blinds/blinds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/blinds/blinds.c')
-rw-r--r--src/modules/blinds/blinds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/blinds/blinds.c b/src/modules/blinds/blinds.c
index 0494cd1..ecfa2d5 100644
--- a/src/modules/blinds/blinds.c
+++ b/src/modules/blinds/blinds.c
@@ -175,7 +175,7 @@ static int blinds_setup(const til_settings_t *settings, til_setting_t **res_sett
if (res_setup) {
blinds_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