diff options
author | David Robillard <d@drobilla.net> | 2017-02-12 18:20:31 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-02-12 18:20:31 +0100 |
commit | f8fdd7a48d12465d2ef8153d25337593c88687e3 (patch) | |
tree | b617d6a803be4334d87d40712d72bb14c52ae743 | |
parent | 0fc02cfb7cbe7f29149e67f8355192b5ceb8a1db (diff) | |
download | lv2-f8fdd7a48d12465d2ef8153d25337593c88687e3.tar.xz |
Fix memory leak
-rw-r--r-- | plugins/eg-sampler.lv2/sampler.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/eg-sampler.lv2/sampler.c b/plugins/eg-sampler.lv2/sampler.c index ca92a9c..95cb45e 100644 --- a/plugins/eg-sampler.lv2/sampler.c +++ b/plugins/eg-sampler.lv2/sampler.c @@ -564,6 +564,8 @@ restore(LV2_Handle instance, free(buf); } + free(path); + return LV2_STATE_SUCCESS; } |