Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/xmpp.c @ 1634:81e2d8a9106b
Add missing g_free()
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 24 Oct 2009 16:24:21 +0200 |
parents | e3afe1da8a5f |
children | 5f35d3573fe0 |
comparison
equal
deleted
inserted
replaced
1633:e3afe1da8a5f | 1634:81e2d8a9106b |
---|---|
1507 "their presence updates", from); | 1507 "their presence updates", from); |
1508 scr_WriteIncomingMessage(r, buf, 0, HBB_PREFIX_INFO, 0); | 1508 scr_WriteIncomingMessage(r, buf, 0, HBB_PREFIX_INFO, 0); |
1509 scr_LogPrint(LPRINT_LOGNORM, "%s", buf); | 1509 scr_LogPrint(LPRINT_LOGNORM, "%s", buf); |
1510 g_free(buf); | 1510 g_free(buf); |
1511 } else { | 1511 } else { |
1512 g_free(r); | |
1512 return LM_HANDLER_RESULT_ALLOW_MORE_HANDLERS; | 1513 return LM_HANDLER_RESULT_ALLOW_MORE_HANDLERS; |
1513 } | 1514 } |
1514 | 1515 |
1515 if (newbuddy) | 1516 if (newbuddy) |
1516 update_roster = TRUE; | 1517 update_roster = TRUE; |