diff options
author | David Robillard <d@drobilla.net> | 2015-05-22 04:23:43 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-05-22 04:23:43 +0000 |
commit | c77a51c704dde7793df0db39af7314bce37ead9a (patch) | |
tree | 6066e29e3019527aab0d373375d414807aff67f4 | |
parent | 8bd752ce4e21ea2aa3f48d554923d6ded4117727 (diff) | |
download | jalv-c77a51c704dde7793df0db39af7314bce37ead9a.tar.gz jalv-c77a51c704dde7793df0db39af7314bce37ead9a.tar.bz2 jalv-c77a51c704dde7793df0db39af7314bce37ead9a.zip |
Fix deleting and re-saving presets.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5681 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/state.c | 1 |
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; |