diff options
Diffstat (limited to 'src/modules/checkers')
-rw-r--r-- | src/modules/checkers/checkers.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/checkers/checkers.c b/src/modules/checkers/checkers.c index 998c5bf..0e11d72 100644 --- a/src/modules/checkers/checkers.c +++ b/src/modules/checkers/checkers.c @@ -515,10 +515,8 @@ static void checkers_setup_free(til_setup_t *setup) { checkers_setup_t *s = (checkers_setup_t *)setup; - if (s) { - til_setup_free(s->fill_module_setup); - free(setup); - } + til_setup_free(s->fill_module_setup); + free(setup); } |