fix bad free
authorChristian Grothoff <christian@grothoff.org>
Thu, 20 Oct 2011 17:22:34 +0000 (17:22 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 20 Oct 2011 17:22:34 +0000 (17:22 +0000)
src/transport/plugin_transport_http_server.c

index c1c35d4bae1ad3e12e119032953045856964a075..158532aca7c5b4eb9087630f00b58b1012d562c6 100644 (file)
@@ -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 !=