Dummy IRI parsing. Needed to fix segfault bug, when freeing person's URI
[cascardo/atompub.git] / atom / person.c
index b60e46e..899fb8f 100644 (file)
@@ -119,7 +119,7 @@ atom_person_new_from_xmlnode (xmlNodePtr node)
       if (!xmlStrcmp (child->name, "name"))
        person->name = content;
       else if (!xmlStrcmp (child->name, "uri"))
-       person->uri = content;
+       person->uri = iri_new_from_string (content);
       else if (!xmlStrcmp (child->name, "email"))
        person->email = content;
       else