Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/switchboard.c @ 25003:86ba0d87c04b
Missed a file in previous commit. Avoids a double-free.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Tue, 27 Jan 2009 05:25:01 +0000 |
parents | 15db3067a5ac |
children | ea98810d89c5 93950851db8c |
comparison
equal
deleted
inserted
replaced
25002:c7e4ec5c30b1 | 25003:86ba0d87c04b |
---|---|
797 g_free (msg->remote_user); | 797 g_free (msg->remote_user); |
798 msg->remote_user = g_strdup(cmd->params[0]); | 798 msg->remote_user = g_strdup(cmd->params[0]); |
799 | 799 |
800 msn_cmdproc_process_msg(cmdproc, msg); | 800 msn_cmdproc_process_msg(cmdproc, msg); |
801 | 801 |
802 msn_message_destroy(msg); | 802 msn_message_unref(msg); |
803 } | 803 } |
804 | 804 |
805 static void | 805 static void |
806 msg_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd) | 806 msg_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd) |
807 { | 807 { |