Mercurial > pidgin.yaz
comparison src/protocols/jabber/jutil.c @ 7429:58a426e1bd1a
[gaim-migrate @ 8033]
plug a memleak, and fix a segfault
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 05 Nov 2003 00:11:31 +0000 |
parents | 82dfe392a773 |
children | 6ea4a49b4b51 |
comparison
equal
deleted
inserted
replaced
7428:ab1ddb5c1216 | 7429:58a426e1bd1a |
---|---|
286 jid->resource); | 286 jid->resource); |
287 else | 287 else |
288 g_snprintf(buf, sizeof(buf), "%s%s%s", jid->node ? jid->node : "", | 288 g_snprintf(buf, sizeof(buf), "%s%s%s", jid->node ? jid->node : "", |
289 jid->node ? "@" : "", jid->domain); | 289 jid->node ? "@" : "", jid->domain); |
290 | 290 |
291 jabber_id_free(jid); | |
292 | |
291 return buf; | 293 return buf; |
292 } | 294 } |
293 | 295 |