diff options
Diffstat (limited to 'src/xmpp/vcard.c')
-rw-r--r-- | src/xmpp/vcard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/vcard.c b/src/xmpp/vcard.c index 6d2f0b1e..b3ff5d39 100644 --- a/src/xmpp/vcard.c +++ b/src/xmpp/vcard.c @@ -297,7 +297,7 @@ vcard_parse(xmpp_stanza_t* vcard_xml, vCard* vcard) element->nickname = stanza_text_strdup(child_pointer); if (!element->nickname) { - // Invaild element, free and do not push + // Invalid element, free and do not push free(element); continue; } |