Mercurial > pidgin
comparison libpurple/protocols/simple/simple.c @ 25218:bdd00a7113d7
propagate from branch 'im.pidgin.pidgin' (head f3891f3348abfe90fbe60a054833c12075aa8df4)
to branch 'im.pidgin.cpw.malu.xmpp.attention' (head d235bb23dbe13535f85e071d6c4f42e07ac6e0ce)
| author | Marcus Lundblad <ml@update.uu.se> |
|---|---|
| date | Sun, 16 Nov 2008 15:39:46 +0000 |
| parents | 61f825f8b3a2 |
| children | 7d07bb66f70b 94fa7211eb98 |
comparison
equal
deleted
inserted
replaced
| 25217:2f01775c81d5 | 25218:bdd00a7113d7 |
|---|---|
| 1226 { | 1226 { |
| 1227 g_strchug(ssparts[i]); | 1227 g_strchug(ssparts[i]); |
| 1228 if (purple_str_has_prefix(ssparts[i], "terminated")) | 1228 if (purple_str_has_prefix(ssparts[i], "terminated")) |
| 1229 { | 1229 { |
| 1230 purple_debug_info("simple", "Subscription expired!"); | 1230 purple_debug_info("simple", "Subscription expired!"); |
| 1231 g_free(b->dialog->ourtag); | 1231 if (b->dialog) |
| 1232 g_free(b->dialog->theirtag); | 1232 { |
| 1233 g_free(b->dialog->callid); | 1233 g_free(b->dialog->ourtag); |
| 1234 g_free(b->dialog); | 1234 g_free(b->dialog->theirtag); |
| 1235 b->dialog = NULL; | 1235 g_free(b->dialog->callid); |
| 1236 g_free(b->dialog); | |
| 1237 b->dialog = NULL; | |
| 1238 } | |
| 1236 | 1239 |
| 1237 purple_prpl_got_user_status(sip->account, from, "offline", NULL); | 1240 purple_prpl_got_user_status(sip->account, from, "offline", NULL); |
| 1238 break; | 1241 break; |
| 1239 } | 1242 } |
| 1240 i++; | 1243 i++; |
