diff options
Diffstat (limited to 'mediaxml.c')
-rw-r--r-- | mediaxml.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -132,7 +132,8 @@ iss ** parsemedia(char * filepath, iss ** issue, int * no_of_issues) xmlDocPtr media_file; xmlNodePtr node, itnode; - ready_xml(filepath, "media", &media_file, &node); + if(ready_xml(filepath, "media", &media_file, &node)) + return NULL; *node = *node->xmlChildrenNode; |