summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerick Hawcroft <derick.hawcroft@nokia.com>2009-06-24 21:15:18 (GMT)
committerDerick Hawcroft <derick.hawcroft@nokia.com>2009-06-24 21:19:39 (GMT)
commit592d9767f4299d7ad8a3b923cf0d272ec9c32861 (patch)
tree09b7b63393c48163890bcb803efa60bf7f2cb974
parentb7a7959cebb9e4dc13cda0f0d23ff16a110c5838 (diff)
downloadQt-592d9767f4299d7ad8a3b923cf0d272ec9c32861.zip
Qt-592d9767f4299d7ad8a3b923cf0d272ec9c32861.tar.gz
Qt-592d9767f4299d7ad8a3b923cf0d272ec9c32861.tar.bz2
Fixup ibase.
delete -> delete []
-rw-r--r--src/sql/drivers/ibase/qsql_ibase.cpp4
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;