Mercurial > pidgin
comparison libpurple/protocols/msn/cmdproc.c @ 26232:1977e930ab03
Make sure we free itmsurl when showing the info window for a buddy
with an itunes music store url
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 27 Mar 2009 09:48:25 +0000 |
parents | 0ffa511ac165 |
children | 7492ddb953fd |
comparison
equal
deleted
inserted
replaced
26231:c2042718eb4d | 26232:1977e930ab03 |
---|---|
115 g_return_if_fail(cmdproc != NULL); | 115 g_return_if_fail(cmdproc != NULL); |
116 g_return_if_fail(trans != NULL); | 116 g_return_if_fail(trans != NULL); |
117 | 117 |
118 servconn = cmdproc->servconn; | 118 servconn = cmdproc->servconn; |
119 | 119 |
120 if (!servconn->connected) | 120 if (!servconn->connected) { |
121 /* TODO: Need to free trans */ | |
121 return; | 122 return; |
123 } | |
122 | 124 |
123 msn_history_add(cmdproc->history, trans); | 125 msn_history_add(cmdproc->history, trans); |
124 | 126 |
125 data = msn_transaction_to_string(trans); | 127 data = msn_transaction_to_string(trans); |
126 | 128 |