aboutsummaryrefslogtreecommitdiffstats
path: root/src/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state.c b/src/state.c
index 4ed4a64..618bbf3 100644
--- a/src/state.c
+++ b/src/state.c
@@ -237,6 +237,7 @@ jalv_delete_current_preset(Jalv* jalv)
return 1;
}
+ lilv_world_unload_resource(jalv->world, lilv_state_get_uri(jalv->preset));
lilv_state_delete(jalv->world, jalv->preset);
lilv_state_free(jalv->preset);
jalv->preset = NULL;