aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jalv.c8
1 files changed, 2 insertions, 6 deletions
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);