mirror of
https://github.com/zoriya/xmlParser.git
synced 2026-06-05 10:59:27 +00:00
Freeing everything and solving contexts
This commit is contained in:
+2
-1
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user