From: teodor Date: Thu, 2 Oct 2008 15:06:16 +0000 (+0000) Subject: Fix memory leaks and mistypes X-Git-Url: http://www.sigaev.ru/git/gitweb.cgi?p=tedtools.git;a=commitdiff_plain;h=07aae09ca8fa5d1ecae9770c6c8345748c70dce2 Fix memory leaks and mistypes --- 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: