zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #11788
[Merge] lp:~zorba-coders/zorba/bug-1020953 into lp:zorba
Dennis Knochenwefel has proposed merging lp:~zorba-coders/zorba/bug-1020953 into lp:zorba.
Requested reviews:
Nicolae Brinza (nbrinza)
Related bugs:
Bug #1020953 in Zorba: "segfault in modules/xml:parse()"
https://bugs.launchpad.net/zorba/+bug/1020953
For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-1020953/+merge/113400
fix for bug #1020953
--
https://code.launchpad.net/~zorba-coders/zorba/bug-1020953/+merge/113400
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/store/naive/loader_fast.cpp'
--- src/store/naive/loader_fast.cpp 2012-06-28 04:14:03 +0000
+++ src/store/naive/loader_fast.cpp 2012-07-04 13:37:21 +0000
@@ -160,23 +160,23 @@
theBaseUri.~zstring();
theDocUri.~zstring();
+ theOrdPath.init();
+ theRootNode = NULL;
+
+ while(!theNodeStack.empty())
+ {
+ XmlNode* node = theNodeStack.top();
+ theNodeStack.pop();
+ if (node != NULL)
+ node->destroy(true);
+ }
+
if (theTree != NULL)
{
delete theTree;
theTree = NULL;
}
- theOrdPath.init();
- theRootNode = NULL;
-
- while(!theNodeStack.empty())
- {
- XmlNode* node = theNodeStack.top();
- theNodeStack.pop();
- if (node != NULL)
- node->destroy(true);
- }
-
thePathStack.clear();
#ifdef DATAGUIDE
Follow ups