summaryrefslogtreecommitdiffstats
path: root/src/plugininstance.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-01 20:08:05 +0000
committerDavid Robillard <d@drobilla.net>2007-07-01 20:08:05 +0000
commit87a7c71254f292939410b7fe376c80f4d8cd815e (patch)
treef501dd98b09b4d65ec518affc763faa3f958bd4c /src/plugininstance.c
parente67a923c73c26dfd335cfb325511c831996952ab (diff)
downloadlilv-87a7c71254f292939410b7fe376c80f4d8cd815e.tar.gz
lilv-87a7c71254f292939410b7fe376c80f4d8cd815e.tar.bz2
lilv-87a7c71254f292939410b7fe376c80f4d8cd815e.zip
Removed redundant GUI loading stub (I'm an idiot).
Cleaned up messy GUI code. Added _gtk2 to gtk2 specific GUI function names (is a nicer more abstract way than this possible?). Fixed instantiation bugs caused by last commit's bundle URI stuff. git-svn-id: http://svn.drobilla.net/lad/slv2@554 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/plugininstance.c')
-rw-r--r--src/plugininstance.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugininstance.c b/src/plugininstance.c
index 90af196..be2252c 100644
--- a/src/plugininstance.c
+++ b/src/plugininstance.c
@@ -67,7 +67,7 @@ slv2_plugin_instantiate(SLV2Plugin plugin,
// Search for plugin by URI
// FIXME: Kluge to get bundle path (containing directory of binary)
- char* bundle_path = slv2_uri_to_path(strdup(slv2_plugin_get_bundle_uri(plugin)));
+ const char* bundle_path = slv2_uri_to_path(slv2_plugin_get_bundle_uri(plugin));
printf("Bundle path: %s\n", bundle_path);
for (uint32_t i=0; 1; ++i) {
@@ -97,8 +97,6 @@ slv2_plugin_instantiate(SLV2Plugin plugin,
break;
}
}
-
- free(bundle_path);
}
assert(result);