diff options
author | Derick Hawcroft <derick.hawcroft@nokia.com> | 2009-06-24 21:15:18 (GMT) |
---|---|---|
committer | Derick Hawcroft <derick.hawcroft@nokia.com> | 2009-06-24 21:19:39 (GMT) |
commit | 592d9767f4299d7ad8a3b923cf0d272ec9c32861 (patch) | |
tree | 09b7b63393c48163890bcb803efa60bf7f2cb974 /src/sql | |
parent | b7a7959cebb9e4dc13cda0f0d23ff16a110c5838 (diff) | |
download | Qt-592d9767f4299d7ad8a3b923cf0d272ec9c32861.zip Qt-592d9767f4299d7ad8a3b923cf0d272ec9c32861.tar.gz Qt-592d9767f4299d7ad8a3b923cf0d272ec9c32861.tar.bz2 |
Fixup ibase.
delete -> delete []
Diffstat (limited to 'src/sql')
-rw-r--r-- | src/sql/drivers/ibase/qsql_ibase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sql/drivers/ibase/qsql_ibase.cpp b/src/sql/drivers/ibase/qsql_ibase.cpp index ef48ec0..0033418 100644 --- a/src/sql/drivers/ibase/qsql_ibase.cpp +++ b/src/sql/drivers/ibase/qsql_ibase.cpp @@ -157,8 +157,8 @@ static void delDA(XSQLDA *&sqlda) if (!sqlda) return; for (int i = 0; i < sqlda->sqld; ++i) { - delete sqlda->sqlvar[i].sqlind; - delete sqlda->sqlvar[i].sqldata; + delete [] sqlda->sqlvar[i].sqlind; + delete [] sqlda->sqlvar[i].sqldata; } free(sqlda); sqlda = 0; |