From daae10fbfe16bac26f74af91faf253d377f1b166 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 7 Aug 2010 17:33:02 +0100 Subject: OpenSolaris (non-gcc) fixes, patches from Dagobert Michelsen with some changes. --- lib/xmltree.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/xmltree.c') diff --git a/lib/xmltree.c b/lib/xmltree.c index 31f8ee9c..b0a945ce 100644 --- a/lib/xmltree.c +++ b/lib/xmltree.c @@ -214,7 +214,10 @@ void xt_cleanup( struct xt_parser *xt, struct xt_node *node, int depth ) return; if( node == NULL ) - return xt_cleanup( xt, xt->root, depth ); + { + xt_cleanup( xt, xt->root, depth ); + return; + } if( node->flags & XT_SEEN && node == xt->root ) { -- cgit v1.2.3