From f8fdd7a48d12465d2ef8153d25337593c88687e3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Feb 2017 18:20:31 +0100 Subject: Fix memory leak --- plugins/eg-sampler.lv2/sampler.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') 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; } -- cgit v1.2.1