Need to delete impl object before outer members.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Mon, 30 Jan 2006 03:57:15 +0000 (03:57 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Mon, 30 Jan 2006 03:57:15 +0000 (03:57 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@1975 cb58f699-b61c-0410-a6fe-9272a202ed29

shib-target/shib-ini.cpp

index d538358..d694386 100644 (file)
@@ -159,6 +159,8 @@ namespace shibtarget {
     public:
         XMLConfig(const DOMElement* e) : ReloadableXMLFile(e), m_listener(NULL), m_sessionCache(NULL), m_replayCache(NULL) {}
         ~XMLConfig() {
+            delete m_impl;
+            m_impl=NULL;
             delete m_sessionCache;
             m_sessionCache=NULL;
             delete m_replayCache;