diff options
author | David Robillard <d@drobilla.net> | 2022-05-27 16:49:53 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-05-27 16:49:53 -0400 |
commit | f313731a4fcf4e18445bc23b51f939fb23ffb6d4 (patch) | |
tree | c470fa66c334f8e28acc2a7a8d914d23b10303de /src | |
parent | d2fcfe079163351c093fa4f41760f6f0f19a6390 (diff) | |
download | jalv-f313731a4fcf4e18445bc23b51f939fb23ffb6d4.tar.gz jalv-f313731a4fcf4e18445bc23b51f939fb23ffb6d4.tar.bz2 jalv-f313731a4fcf4e18445bc23b51f939fb23ffb6d4.zip |
Remove redundant conditionals
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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); |