diff options
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); |