Fix a potential double-free in ecpg.
This commit is contained in:
parent
9c2635e26f
commit
d1ca82d0a2
@ -565,6 +565,7 @@ cppline {space}*#([^i][A-Za-z]*|{if}|{ifdef}|{ifndef}|{import})((\/\*[^*/]*\*+
|
||||
{
|
||||
addlit(yytext, yyleng);
|
||||
free(dolqstart);
|
||||
dolqstart = NULL;
|
||||
BEGIN(SQL);
|
||||
base_yylval.str = mm_strdup(literalbuf);
|
||||
return DOLCONST;
|
||||
|
Loading…
x
Reference in New Issue
Block a user