Scott, Thanks for the report. Please find attached patch that removes one defect that may be related. To use it one needs to compile kexi or wait for update made by the distribution. I am applying this change to the 2.2, 2.3 and 2.4 series anyway.
If you decide to compile Kexi, please first apply the patch to the code, as described here http://userbase.kde.org/KOffice/Download#Emergency_Patches -- regards / pozdrawiam, Jaroslaw Staniek http://www.linkedin.com/in/jstaniek Kexi & Calligra (kexi-project.org, identi.ca/kexi, calligra-suite.org) KDE Software Development Platform on MS Windows (windows.kde.org)
diff --git a/kexi/kexidb/queryschema.cpp b/kexi/kexidb/queryschema.cpp index 50577c5..7a2fe51 100644 --- a/kexi/kexidb/queryschema.cpp +++ b/kexi/kexidb/queryschema.cpp @@ -132,9 +132,10 @@ public: if (fieldsExpanded) qDeleteAll(*fieldsExpanded); delete fieldsExpanded; - if (internalFields) + if (internalFields) { qDeleteAll(*internalFields); - delete internalFields; + delete internalFields; + } delete fieldsExpandedWithInternalAndRowID; delete fieldsExpandedWithInternal; delete autoincFields; @@ -170,9 +171,11 @@ public: qDeleteAll(*fieldsExpanded); delete fieldsExpanded; fieldsExpanded = 0; - qDeleteAll(*internalFields); - delete internalFields; - internalFields = 0; + if (internalFields) { + qDeleteAll(*internalFields); + delete internalFields; + internalFields = 0; + } delete columnsOrder; columnsOrder = 0; delete columnsOrderWithoutAsterisks;
_______________________________________________ Kexi mailing list Kexi@kde.org https://mail.kde.org/mailman/listinfo/kexi