* Handle error in WATCH command propely on backup router.
Affected file silcd/command.c.
+ * Fixed freeing of unfreeable variable in WHOIS command reply.
+ Affected file silcd/command_reply.c.
+
Wed Apr 6 09:10:31 CEST 2005 Pekka Riikonen <priikone@silcnet.org>
* Added pkg-config .pc file creation for silc core library
SilcClientEntry client;
SilcIDCacheEntry cache = NULL;
char global = FALSE;
- char *nick;
+ char *nick = NULL;
SilcUInt32 mode = 0, len, len2, id_len, flen;
id_data = silc_argument_get_arg_type(cmd->args, 2, &id_len);
cmd->sock->user_data, NULL, 0);
if (!client) {
SILC_LOG_ERROR(("Could not add new client to the ID Cache"));
- silc_free(tmp);
silc_free(nick);
+ silc_free(servername);
return FALSE;
}
- silc_free(tmp);
client->data.status |=
(SILC_IDLIST_STATUS_REGISTERED | SILC_IDLIST_STATUS_RESOLVED);
SilcClientID *client_id;
SilcClientEntry client;
SilcIDCacheEntry cache = NULL;
- char *nick;
+ char *nick = NULL;
int global = FALSE;
id_data = silc_argument_get_arg_type(cmd->args, 2, &id_len);
if (!client) {
SILC_LOG_ERROR(("Could not add new client to the ID Cache"));
silc_free(nick);
+ silc_free(servername);
return FALSE;
}