X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fcommand_reply.c;h=3696ec3accb78127416f2b8fa92c4f5eafaa4645;hb=f82024f04b73e3b80ddd6c590699206d3dc5c1eb;hp=9b344cda9a157b17729b19fe2a7bce772b7dc4c7;hpb=a32eecc529a135726587f17d667badb70605c405;p=silc.git diff --git a/apps/silcd/command_reply.c b/apps/silcd/command_reply.c index 9b344cda..3696ec3a 100644 --- a/apps/silcd/command_reply.c +++ b/apps/silcd/command_reply.c @@ -899,8 +899,7 @@ SILC_SERVER_CMD_REPLY_FUNC(join) them in the entry */ if (!(mode & SILC_CHANNEL_MODE_FOUNDER_AUTH) && entry->founder_key) { silc_pkcs_public_key_free(entry->founder_key); - silc_free(entry->founder_passwd); - entry->founder_passwd = NULL; + entry->founder_key = NULL; } }