[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] tools/dtdriver/engine ffdriver.cpp, 1.39.2.28,
From:       zlin () helixcommunity ! org
Date:       2011-03-30 10:02:44
Message-ID: 201103301002.p2UA2lNC019361 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/datatype/tools/dtdriver/engine
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv16456

Modified Files:
      Tag: hxclient_3_6_5_atlas
	ffdriver.cpp 
Log Message:
Merge from 361Atlas for issue 12584 on U1, below is the original commit log on 361Atlas:
bug fix 9760: Low memory and media scanner died. CR: ehyche@real.com and sfu@real.com
The logic to release m_pContext is revoked back to its original (as seen in earlier
version of ffdriver.cpp 1.39.2.19)


Index: ffdriver.cpp
===================================================================
RCS file: /cvsroot/datatype/tools/dtdriver/engine/ffdriver.cpp,v
retrieving revision 1.39.2.28
retrieving revision 1.39.2.28.4.1
diff -u -d -r1.39.2.28 -r1.39.2.28.4.1
--- ffdriver.cpp	21 Oct 2010 23:15:05 -0000	1.39.2.28
+++ ffdriver.cpp	30 Mar 2011 10:02:41 -0000	1.39.2.28.4.1
@@ -392,7 +392,11 @@
 	HX_RELEASE(m_pScheduler);
 	HX_RELEASE(m_pClientContext);
 	HX_RELEASE(m_pErrorMessages);
-        HX_RELEASE(m_pContext);
+        if (m_pContext)
+        {
+            m_pContext->Destruct();
+            m_pContext = NULL;
+        }
     }
 }
 
@@ -1549,7 +1553,11 @@
                 {
 		    HX_RELEASE(m_pScheduler);
                     HX_RELEASE(m_pErrorMessages);
-                    HX_RELEASE(m_pContext);
+                    if (m_pContext)
+                    {
+                        m_pContext->Destruct();
+                        m_pContext = NULL;
+                    }
                 }
 
                 MEMPROBE_FREEZE(MEMPRB_TOTAL);


_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic