From: Christian Grothoff Date: Thu, 20 Oct 2011 17:22:34 +0000 (+0000) Subject: fix bad free X-Git-Tag: initial-import-from-subversion-38251~16368 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=403e47c8f0a1cccc7478a17d6b8dd95f4214c093;p=oweals%2Fgnunet.git fix bad free --- diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c index c1c35d4ba..158532aca 100644 --- a/src/transport/plugin_transport_http_server.c +++ b/src/transport/plugin_transport_http_server.c @@ -138,7 +138,7 @@ server_load_certificate (struct Plugin *plugin) GNUNET_CONFIGURATION_get_value_filename (plugin->env->cfg, plugin->name, "KEY_FILE", &key_file)) { - key_file = "https_key.key"; + key_file = GNUNET_strdup ("https_key.key"); } if (GNUNET_OK !=