Mercurial > pidgin
changeset 7130:ec7c5aead3d7
[gaim-migrate @ 7697]
fix a warning
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 03 Oct 2003 15:23:01 +0000 |
parents | 8246bd3141ae |
children | af889fd531d0 |
files | src/protocols/jabber/xmlnode.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/jabber/xmlnode.c Fri Oct 03 11:27:54 2003 +0000 +++ b/src/protocols/jabber/xmlnode.c Fri Oct 03 15:23:01 2003 +0000 @@ -365,7 +365,8 @@ if(!g_markup_parse_context_parse(context, str, real_size, NULL)) { while(xpd->current && xpd->current->parent) xpd->current = xpd->current->parent; - xmlnode_free(xpd->current); + if(xpd->current) + xmlnode_free(xpd->current); xpd->current = NULL; } g_markup_parse_context_free(context);