From c0256dbedb5b04b75e0ef209ee0751ba7e6dfcc1 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Wed, 27 Sep 2006 14:11:31 +0000 Subject: [PATCH] *** empty log message *** --- ase/awk/awk_i.h | 4 ++-- ase/awk/parse.c | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) 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; }