-/* @(#) $Id: os_xml_node_access.c,v 1.6 2009/06/24 17:06:32 dcid Exp $ */
+/* @(#) $Id$ */
/* Copyright (C) 2009 Trend Micro Inc.
* All rights reserved.
*
* This program is a free software; you can redistribute it
* and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
* Foundation
*/
while(node[i])
{
if(node[i]->element)
+ {
free(node[i]->element);
+ }
if(node[i]->content)
+ {
free(node[i]->content);
+ }
if(node[i]->attributes)
{
int j=0;