Added preliminary support for dynamic connection during joining.
[silc.git] / apps / silcd / command_reply.c
index acf1e2dd4438f94729db70a1bfa75c4d3bfcd88e..97aedf0e8e37455267c4818136418a9c24510b9f 100644 (file)
@@ -1199,7 +1199,8 @@ SILC_SERVER_CMD_REPLY_FUNC(join)
     silc_hmac_free(hmac);
   silc_server_command_reply_free(cmd);
 
-  silc_pkcs_public_key_free(founder_key);
+  if (founder_key)
+    silc_pkcs_public_key_free(founder_key);
   if (client_id_list)
     silc_buffer_free(client_id_list);
   if (client_mode_list)