diff --git a/ase/awk/awk_i.h b/ase/awk/awk_i.h index c670f5ad..d908cf37 100644 --- a/ase/awk/awk_i.h +++ b/ase/awk/awk_i.h @@ -1,5 +1,5 @@ /* - * $Id: awk_i.h,v 1.59 2006-09-25 06:17:19 bacon Exp $ + * $Id: awk_i.h,v 1.60 2006-09-27 14:11:31 bacon Exp $ */ #ifndef _XP_AWK_AWKI_H_ @@ -25,9 +25,9 @@ typedef struct xp_awk_tree_t xp_awk_tree_t; #include #include #include +#include #include #include -#include #include #include #include diff --git a/ase/awk/parse.c b/ase/awk/parse.c index a7419162..3c53ebe5 100644 --- a/ase/awk/parse.c +++ b/ase/awk/parse.c @@ -1,5 +1,5 @@ /* - * $Id: parse.c,v 1.181 2006-09-22 14:04:25 bacon Exp $ + * $Id: parse.c,v 1.182 2006-09-27 14:11:31 bacon Exp $ */ #include @@ -1952,6 +1952,7 @@ static xp_awk_nde_t* __parse_primary (xp_awk_t* awk) if (__get_token(awk) == -1) { + XP_AWK_FREE (awk, nde->str); XP_AWK_FREE (awk, nde); return XP_NULL; } @@ -1986,6 +1987,7 @@ static xp_awk_nde_t* __parse_primary (xp_awk_t* awk) if (__get_token(awk) == -1) { + XP_AWK_FREE (awk, nde->str); XP_AWK_FREE (awk, nde); return XP_NULL; }