aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-11-15 10:11:40 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-11-15 10:11:40 +0100
commitefafd15669088308f554939265a5d3879b2d0750 (patch)
tree0304a9c3f0780ad11ea430d5c3ab666e1bf9be0d
parentd005bd3f5a7c4d58c651f2df56cdfe7bcb5accd0 (diff)
downloadsherlock.lv2-efafd15669088308f554939265a5d3879b2d0750.tar.xz
fix missing free.
-rw-r--r--VERSION2
-rw-r--r--sherlock_nk.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/VERSION b/VERSION
index c3e5557..43aedd0 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.11.2661
+0.11.2663
diff --git a/sherlock_nk.c b/sherlock_nk.c
index a0386a9..952e09d 100644
--- a/sherlock_nk.c
+++ b/sherlock_nk.c
@@ -304,6 +304,9 @@ instantiate(const LV2UI_Descriptor *descriptor, const char *plugin_uri,
*(intptr_t *)widget = nk_pugl_init(&handle->win);
nk_pugl_show(&handle->win);
+ if(path)
+ free(path);
+
if(host_resize)
host_resize->ui_resize(host_resize->handle, cfg->width, cfg->height);