summaryrefslogtreecommitdiff
path: root/pbx/ael/ael.y
diff options
context:
space:
mode:
Diffstat (limited to 'pbx/ael/ael.y')
-rw-r--r--pbx/ael/ael.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/pbx/ael/ael.y b/pbx/ael/ael.y
index 48fac1c77..6456fade0 100644
--- a/pbx/ael/ael.y
+++ b/pbx/ael/ael.y
@@ -138,7 +138,8 @@ static pval *npval2(pvaltype type, YYLTYPE *first, YYLTYPE *last);
* The former is for pval, the latter for strings.
*/
%destructor {
- if (yymsg[0] != 'C') {
+ /* XXX i think the destructor must be called always */
+ if (1 /* yymsg[0] != 'C' */) {
destroy_pval($$);
prev_word=0;
} else {