always call the destructor

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Luigi Rizzo 19 years ago
parent 456e27b453
commit 85ea0974f8

File diff suppressed because it is too large Load Diff

@ -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 {

Loading…
Cancel
Save