[Kexi] Patch - FieldList Crash
Jarosław Staniek
js at iidea.pl
Mon Dec 31 18:08:07 CET 2007
Sharan Rao said the following, On 2007-12-30 23:51:
> Hi,
>
> Attached is a patch for kexidb/fieldlist.cpp. Earlier, if
> FieldList::autoIncrementFields() ( which, doxygen tells me, is not called by
> anyone else till now ), was responsible for a crash in the future when the
> FieldList object was being destroyed .
>
> There was an attempt to delete the autoincrement fields two times. The first
> time is when the members of m_autoinc_fields are deleted, and the second
> time is when members of FieldList::m_fields are deleted.
>
OK, thank!
please commit
I'll consider making KexiDB::Field::List not-autodeleted by default to avoid
such misuses.
--
regards / pozdrawiam, Jaroslaw Staniek
Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
KDE Libraries for MS Windows (http://windows.kde.org)
More information about the Kexi
mailing list