From: Pekka Riikonen Date: Thu, 1 Feb 2001 22:11:44 +0000 (+0000) Subject: In USERS reply, res_argv[i] are not allocated, the table X-Git-Tag: SILC.0.1~282 X-Git-Url: http://git.silcnet.org/gitweb/?a=commitdiff_plain;h=4bfabdaf198ef0b47704562c2404a4fafb26a1d7;p=silc.git In USERS reply, res_argv[i] are not allocated, the table is allocated. Thus changed that free the table, not its internals. --- diff --git a/lib/silcclient/command_reply.c b/lib/silcclient/command_reply.c index 85fa37da..117683a0 100644 --- a/lib/silcclient/command_reply.c +++ b/lib/silcclient/command_reply.c @@ -1161,8 +1161,7 @@ SILC_CLIENT_CMD_REPLY_FUNC(users) if (channel_id) silc_free(channel_id); - for (i = 0; i < res_argc; i++) - silc_free(res_argv[i]); + silc_free(res_argv[i]); silc_free(res_argv); silc_free(res_argv_lens); silc_free(res_argv_types);