Fixed some memory leaks in the theme editor

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26292 a1c6a512-1295-4272-9138-f99709370657
diff --git a/utils/themeeditor/skin_parser.h b/utils/themeeditor/skin_parser.h
index a6fd1aa..5098002 100644
--- a/utils/themeeditor/skin_parser.h
+++ b/utils/themeeditor/skin_parser.h
@@ -93,7 +93,7 @@
     char* text;
 
     /* The tag or conditional name */
-    char* name;
+    char name[3];
 
     /* Pointer to and size of an array of parameters */
     int params_count;
@@ -121,4 +121,6 @@
 struct skin_tag_parameter* skin_alloc_params(int count);
 char* skin_alloc_string(int length);
 
+void skin_free_tree(struct skin_element* root);
+
 #endif /* GENERIC_PARSER_H */