[Kexi] Patch - FieldList Crash

Sharan Rao sharanrao at gmail.com
Sun Dec 30 23:51:30 CET 2007


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.

Any suggestions ?

Cheers!
 Sharan Rao

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fieldList-crash-patch
Type: text/x-diff
Size: 443 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kexi/attachments/20071231/13f2cfc5/attachment.bin 


More information about the Kexi mailing list