Author: zguo
Date: Sun Apr 20 22:50:48 2008
New Revision: 33083
URL:
http://svn.reactos.org/svn/reactos?rev=33083&view=rev
Log:
Forgot this file.
Modified:
trunk/reactos/tools/xml.cpp
Modified: trunk/reactos/tools/xml.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/xml.cpp?rev=33083&am…
==============================================================================
--- trunk/reactos/tools/xml.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/xml.cpp [iso-8859-1] Sun Apr 20 22:50:48 2008
@@ -833,8 +833,10 @@
Path::RelativeFromWorkingDirectory ( includeFile ) );
XMLInclude* fallbackInclude =
new XMLInclude ( e3, include.path, topIncludeFile );
- return XMLLoadInclude (
- *fallbackInclude, includes );
+
+ XMLElement* value = XMLLoadInclude (*fallbackInclude, includes );
+ delete fallbackInclude;
+ return value;
}
}
throw XMLInvalidBuildFileException (