Fix another leak

This commit is contained in:
Nyall Dawson 2020-08-18 14:36:44 +10:00
parent c65b402348
commit e82c1e9e1b

View File

@ -833,6 +833,8 @@ int found = 0;
}
if (!found) {
mdb_sql_error(sql, "Column %s not found",sqlcol->name);
mdb_index_scan_free(table);
mdb_free_tabledef(table);
mdb_sql_reset(sql);
return;
}