diff options
Diffstat (limited to 'src/peerinfo-tool/gnunet-peerinfo_plugins.c')
-rw-r--r-- | src/peerinfo-tool/gnunet-peerinfo_plugins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerinfo-tool/gnunet-peerinfo_plugins.c b/src/peerinfo-tool/gnunet-peerinfo_plugins.c index 29dc4d017..37553f2f7 100644 --- a/src/peerinfo-tool/gnunet-peerinfo_plugins.c +++ b/src/peerinfo-tool/gnunet-peerinfo_plugins.c | |||
@@ -109,7 +109,7 @@ GPI_plugins_load (const struct GNUNET_CONFIGURATION_Handle *cfg) | |||
109 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Loading `%s' transport plugin\n"), | 109 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Loading `%s' transport plugin\n"), |
110 | pos); | 110 | pos); |
111 | GNUNET_asprintf (&libname, "libgnunet_plugin_transport_%s", pos); | 111 | GNUNET_asprintf (&libname, "libgnunet_plugin_transport_%s", pos); |
112 | plug = GNUNET_malloc (sizeof (struct TransportPlugin)); | 112 | plug = GNUNET_new (struct TransportPlugin); |
113 | plug->short_name = GNUNET_strdup (pos); | 113 | plug->short_name = GNUNET_strdup (pos); |
114 | plug->lib_name = libname; | 114 | plug->lib_name = libname; |
115 | plug->env.cfg = cfg; | 115 | plug->env.cfg = cfg; |