X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcclient%2Fidlist.c;h=fdb4eece395d59d44c492b1da8759094e2ffa7ff;hb=06de75789d7eb830f8358b1b784e82b9941b33c8;hp=aa5ccc27f22e86c2a4355bd92bb54822f49625b4;hpb=17ede281c8884ab84ba8e0ba6e2f02253ada9d48;p=silc.git diff --git a/lib/silcclient/idlist.c b/lib/silcclient/idlist.c index aa5ccc27..fdb4eece 100644 --- a/lib/silcclient/idlist.c +++ b/lib/silcclient/idlist.c @@ -722,6 +722,8 @@ static void silc_client_del_channel_foreach(void *key, void *context, { SilcChannelUser chu = (SilcChannelUser)context; + SILC_LOG_DEBUG(("Start")); + /* Remove the context from the client's channel hash table as that table and channel's user_list hash table share this same context. */ silc_hash_table_del(chu->client->channels, chu->channel); @@ -735,6 +737,8 @@ bool silc_client_del_channel(SilcClient client, SilcClientConnection conn, { bool ret = silc_idcache_del_by_context(conn->channel_cache, channel); + SILC_LOG_DEBUG(("Start")); + /* Free all client entrys from the users list. The silc_hash_table_free will free all the entries so they are not freed at the foreach callback. */