diff options
Diffstat (limited to 'src/pluginui.c')
-rw-r--r-- | src/pluginui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluginui.c b/src/pluginui.c index 4d61690..c81a5dd 100644 --- a/src/pluginui.c +++ b/src/pluginui.c @@ -51,7 +51,7 @@ slv2_ui_new(SLV2World world, ui->binary_uri = binary_uri; // FIXME: kludge - char* bundle = strdup(slv2_value_as_string(ui->binary_uri)); + char* bundle = slv2_strdup(slv2_value_as_string(ui->binary_uri)); char* last_slash = strrchr(bundle, '/') + 1; *last_slash = '\0'; ui->bundle_uri = slv2_value_new_uri(world, bundle); |