mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
always call the destructor
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user