projects
/
tedtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6ae68e
)
Fix memory leaks and mistypes
author
teodor
<teodor>
Thu, 2 Oct 2008 15:06:16 +0000
(15:06 +0000)
committer
teodor
<teodor>
Thu, 2 Oct 2008 15:06:16 +0000
(15:06 +0000)
template.c
patch
|
blob
|
history
diff --git
a/template.c
b/template.c
index
d85a610
..
45b366b
100644
(file)
--- 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: