_("Failed to load dhtlog plugin for `%s'\n"), plugin_name);
GNUNET_free (plugin_name);
GNUNET_free (plugin);
+ return NULL;
}
api = plugin->dhtlog_api;
- GNUNET_free(plugin);
+ GNUNET_free (plugin_name);
+ GNUNET_free (plugin);
return api;
}
{
GNUNET_PLUGIN_unload(libname, api);
}
+ GNUNET_free_non_null(libname);
}
/* end of dhtlog.c */