X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b386eeeebefa9fa6c143d583fee8bf1c95b42563..1542c42e726432f1f0673e5fa426d3939fedb8d2:/src/xrc/xmlres.cpp diff --git a/src/xrc/xmlres.cpp b/src/xrc/xmlres.cpp index 649a55320d..ade30b6039 100644 --- a/src/xrc/xmlres.cpp +++ b/src/xrc/xmlres.cpp @@ -1112,7 +1112,7 @@ public: } void OnExit() { - delete wxXmlResource::Get(); + delete wxXmlResource::Set(NULL); CleanXMLID_Records(); } };