[Kst] branches/kst/hfi_calib/kst/src/libkstapp
George Staikos
staikos at kde.org
Thu Jun 15 20:25:19 CEST 2006
SVN commit 551844 by staikos:
recursive crash patch from trunk
M +2 -1 kst.cpp
--- branches/kst/hfi_calib/kst/src/libkstapp/kst.cpp #551843:551844
@@ -108,8 +108,9 @@
const QString& KstApp::defaultTag = KGlobal::staticQString("<Auto Name>");
void KstApp::doubleCheckCleanup() {
- delete ::inst;
+ KstApp *ptr = ::inst; // guard to prevent double delete on recursion
::inst = 0L;
+ delete ptr;
}
More information about the Kst
mailing list