[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.29.6.1, 1.39.2.29.6.2
From:       tzupan () helixcommunity ! org
Date:       2012-01-25 7:35:25
[Download RAW message or body]

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

Modified Files:
      Tag: realplayer15_ss2
	ffdriver.cpp 
Log Message:
bug 406275, cancelling converter results in crash

Index: ffdriver.cpp
===================================================================
RCS file: /cvsroot/datatype/tools/dtdriver/engine/ffdriver.cpp,v
retrieving revision 1.39.2.29.6.1
retrieving revision 1.39.2.29.6.2
diff -u -d -r1.39.2.29.6.1 -r1.39.2.29.6.2
--- ffdriver.cpp	12 Jan 2012 17:51:30 -0000	1.39.2.29.6.1
+++ ffdriver.cpp	25 Jan 2012 07:35:21 -0000	1.39.2.29.6.2
@@ -316,6 +316,11 @@
 FFDriver::~FFDriver()
 {
     Close(TRUE);
+	if(m_pContext)
+    {
+        m_pContext->Destruct();
+        HX_RELEASE(m_pContext);
+    }
 }
 
 
@@ -392,12 +397,6 @@
 	HX_RELEASE(m_pScheduler);
 	HX_RELEASE(m_pClientContext);
 	HX_RELEASE(m_pErrorMessages);
-
-	if(m_pContext)
-        {
-            m_pContext->Destruct();
-        }
-        HX_RELEASE(m_pContext);
     }
 }
 


_______________________________________________
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