diff options
Diffstat (limited to 'src/modules/roto')
-rw-r--r-- | src/modules/roto/roto.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/roto/roto.c b/src/modules/roto/roto.c index 8d71cba..4d97fa5 100644 --- a/src/modules/roto/roto.c +++ b/src/modules/roto/roto.c @@ -412,10 +412,8 @@ static void roto_setup_free(til_setup_t *setup) { roto_setup_t *s = (roto_setup_t *)setup; - if (s) { - til_setup_free(s->fill_module_setup); - free(setup); - } + til_setup_free(s->fill_module_setup); + free(setup); } |