Fix several leaks and errors

This commit is contained in:
whydoubt
2005-11-09 13:24:26 +00:00
parent de1ce907a4
commit 278b6e284c
5 changed files with 17 additions and 7 deletions

View File

@@ -102,6 +102,8 @@ sarg:
}
| constant operator constant {
mdb_sql_eval_expr(_mdb_sql(NULL), $1, $2, $3);
free($1);
free($3);
}
| identifier nulloperator {
mdb_sql_add_sarg(_mdb_sql(NULL), $1, $2, NULL);