From 07aae09ca8fa5d1ecae9770c6c8345748c70dce2 Mon Sep 17 00:00:00 2001 From: teodor Date: Thu, 2 Oct 2008 15:06:16 +0000 Subject: [PATCH] Fix memory leaks and mistypes --- template.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/template.c b/template.c index d85a610..45b366b 100644 --- a/template.c +++ b/template.c @@ -835,7 +835,7 @@ setTemplateValue( Template tmpl, char *key) { if ( varval == NULL ) return TVAR_NOROW; - tassert( (varval->type & TND_GLOBAL) == 0 ); + tassert( (varval->flags & TND_GLOBAL) == 0 ); } if ( varval->flags & TND__SPECIALMASK ) @@ -1085,6 +1085,8 @@ printNode( Template tmpl, TemplateNode node ) { } printNode( tmpl, node->nodeData.loop.bodyNode ); } + + GListFree( instance->rowValues ); } break; case ConditionNode: -- 2.37.3