aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jalv.c8
-rw-r--r--wscript2
2 files changed, 3 insertions, 7 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);
diff --git a/wscript b/wscript
index 0112218..72036f7 100644
--- a/wscript
+++ b/wscript
@@ -117,7 +117,7 @@ def configure(conf):
conf.check_pkg('lilv-0 >= 0.24.0', uselib_store='LILV')
conf.check_pkg('serd-0 >= 0.24.0', uselib_store='SERD')
conf.check_pkg('sord-0 >= 0.14.0', uselib_store='SORD')
- conf.check_pkg('sratom-0 >= 0.6.0', uselib_store='SRATOM')
+ conf.check_pkg('sratom-0 >= 0.6.4', uselib_store='SRATOM')
if Options.options.portaudio:
conf.check_pkg('portaudio-2.0 >= 2.0.0',
uselib_store='PORTAUDIO',