diff options
-rw-r--r-- | ezxml.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -14,11 +14,7 @@ int process(char *fn) { printf("article-title: %s\n", title->txt); } - ezxml_t body = ezxml_get(ezdoc, "body", -1); - if (!body) { - fprintf(stderr, "No body-tag found in file '%s'. Exiting.\n", fn); - return 1; - } + ezxml_free(ezdoc); return 0; } |