Freeing everything and solving contexts

This commit is contained in:
Tristan Roux
2019-12-06 19:01:37 +01:00
parent 61ad0b62b4
commit f267a487d4
8 changed files with 52 additions and 11 deletions
+2 -1
View File
@@ -7,12 +7,13 @@
#include "xml.h"
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
if (argc != 2)
return (printf("Usage: %s xml_path\n", argv[0]), 0);
node *n = xmlparse(argv[1]);
(void)n;
xml_destroy(n);
return (0);
}