~prateek.karandikar/ubuntu/precise/pidgin/add_quicklist

« back to all changes in this revision

Viewing changes to libpurple/protocols/msn/cmdproc.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-01-03 16:36:53 UTC
  • mfrom: (2.3.15 sid)
  • Revision ID: james.westby@ubuntu.com-20110103163653-a2jye0x43v30p4a1
Tags: 1:2.7.9-1ubuntu1
Resynchronize on Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
        msn_history_destroy(cmdproc->history);
59
59
 
60
60
        if (cmdproc->last_cmd != NULL)
61
 
                msn_command_destroy(cmdproc->last_cmd);
 
61
                msn_command_unref(cmdproc->last_cmd);
62
62
 
63
63
        g_hash_table_destroy(cmdproc->multiparts);
64
64
 
122
122
        servconn = cmdproc->servconn;
123
123
 
124
124
        if (!servconn->connected) {
125
 
                /* TODO: Need to free trans */
 
125
                msn_transaction_destroy(trans);
126
126
                return;
127
127
        }
128
128
 
156
156
 
157
157
        msn_servconn_write(servconn, data, len);
158
158
 
 
159
        if (!trans->saveable)
 
160
                msn_transaction_destroy(trans);
159
161
        g_free(data);
160
162
}
161
163
 
327
329
        show_debug_cmd(cmdproc, TRUE, command);
328
330
 
329
331
        if (cmdproc->last_cmd != NULL)
330
 
                msn_command_destroy(cmdproc->last_cmd);
 
332
                msn_command_unref(cmdproc->last_cmd);
331
333
 
332
334
        cmdproc->last_cmd = msn_command_from_string(command);
333
335