aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-12 18:20:31 +0100
committerDavid Robillard <d@drobilla.net>2017-02-12 18:20:31 +0100
commitf8fdd7a48d12465d2ef8153d25337593c88687e3 (patch)
treeb617d6a803be4334d87d40712d72bb14c52ae743 /plugins
parent0fc02cfb7cbe7f29149e67f8355192b5ceb8a1db (diff)
downloadlv2-f8fdd7a48d12465d2ef8153d25337593c88687e3.tar.xz
Fix memory leak
Diffstat (limited to 'plugins')
-rw-r--r--plugins/eg-sampler.lv2/sampler.c2
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;
}