1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-19 13:42:17 +03:00

ecpg ECPGFree fix from Rene Hogendoorn.

This commit is contained in:
Bruce Momjian
1999-11-23 19:47:14 +00:00
parent 85bb91a319
commit 54ffd4677a
2 changed files with 48 additions and 45 deletions

View File

@@ -969,7 +969,7 @@ stmt: AddAttrStmt { output_statement($1, 0); }
output_statement($1, 0);
}
| ECPGFree {
fprintf(yyout, "{ ECPGdeallocate(__LINE__, %s, \"%s\");", connection ? connection : "NULL", $1);
fprintf(yyout, "{ ECPGdeallocate(__LINE__, \"%s\");", $1);
whenever_action(2);
free($1);
}