From f313731a4fcf4e18445bc23b51f939fb23ffb6d4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 May 2022 16:49:53 -0400 Subject: Remove redundant conditionals --- src/jalv.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/jalv.c b/src/jalv.c index e474433..779bce3 100644 --- a/src/jalv.c +++ b/src/jalv.c @@ -1347,12 +1347,8 @@ jalv_close(Jalv* const jalv) } free(jalv->controls.controls); - if (jalv->sratom) { - sratom_free(jalv->sratom); - } - if (jalv->ui_sratom) { - sratom_free(jalv->ui_sratom); - } + sratom_free(jalv->sratom); + sratom_free(jalv->ui_sratom); lilv_uis_free(jalv->uis); lilv_world_free(jalv->world); -- cgit v1.2.1