diff options
author | David Robillard <d@drobilla.net> | 2008-05-16 19:16:43 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-05-16 19:16:43 +0000 |
commit | 36e6623437ed9c6b5a68d2458d0ea7ff762297b1 (patch) | |
tree | c48c6347646dca4866fc87e10d02c691ebd9dc03 /src/plugin.c | |
parent | cce33e218de8177de79dfd64f84d928985d040ad (diff) | |
download | lilv-36e6623437ed9c6b5a68d2458d0ea7ff762297b1.tar.gz lilv-36e6623437ed9c6b5a68d2458d0ea7ff762297b1.tar.bz2 lilv-36e6623437ed9c6b5a68d2458d0ea7ff762297b1.zip |
Actually fix plugins with binary not mentioned in the manifest (just always load it later).
git-svn-id: http://svn.drobilla.net/lad/slv2@1211 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin.c b/src/plugin.c index c1cd384..57de06c 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -36,14 +36,14 @@ /* private * ownership of uri is taken */ SLV2Plugin -slv2_plugin_new(SLV2World world, SLV2Value uri, librdf_uri* bundle_uri, librdf_uri* binary_uri) +slv2_plugin_new(SLV2World world, SLV2Value uri, librdf_uri* bundle_uri) { assert(bundle_uri); struct _SLV2Plugin* plugin = malloc(sizeof(struct _SLV2Plugin)); plugin->world = world; plugin->plugin_uri = uri; plugin->bundle_uri = slv2_value_new_librdf_uri(world, bundle_uri); - plugin->binary_uri = binary_uri ? slv2_value_new_librdf_uri(world, binary_uri) : NULL; + plugin->binary_uri = NULL; plugin->plugin_class = NULL; plugin->data_uris = slv2_values_new(); plugin->ports = raptor_new_sequence((void (*)(void*))&slv2_port_free, NULL); |