X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fidlist.c;h=c9599deb2ed21ff1236496e9a8007689dc81a23e;hb=a93321c8c98c4a84f5b3aefbb4f013d8978ec9b8;hp=3a8eb9d0e2b5d7694af14a79befbe5d3a5048088;hpb=d56ab2d482dd7f21ceb3b18a1f4fe833bc0a9c3f;p=silc.git diff --git a/apps/silcd/idlist.c b/apps/silcd/idlist.c index 3a8eb9d0..c9599deb 100644 --- a/apps/silcd/idlist.c +++ b/apps/silcd/idlist.c @@ -76,6 +76,14 @@ void silc_idlist_del_data(void *entry) silc_hash_free(idata->hash); if (idata->public_key) silc_pkcs_public_key_free(idata->public_key); + + idata->send_key = NULL; + idata->receive_key = NULL; + idata->rekey = NULL; + idata->hmac_send = NULL; + idata->hmac_receive = NULL; + idata->hash = NULL; + idata->public_key = NULL; } /* Purges ID cache */