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

List:       helix-client-cvs
Subject:    [Client-cvs] downloadmgr chxdownload.cpp,1.4,1.5
From:       qluo () helixcommunity ! org
Date:       2008-04-22 21:12:51
Message-ID: 200804222113.m3MLDQUE020220 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/client/downloadmgr
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv18924

Modified Files:
	chxdownload.cpp 
Log Message:
merge to head: crash fix.  CR: ping@real.com


Index: chxdownload.cpp
===================================================================
RCS file: /cvsroot/client/downloadmgr/chxdownload.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- chxdownload.cpp	3 Oct 2007 22:32:57 -0000	1.4
+++ chxdownload.cpp	22 Apr 2008 21:12:44 -0000	1.5
@@ -132,14 +132,12 @@
     if (m_spHTTP)
     {
 	m_spHTTP->Terminate();
+	m_spHTTP.Clear();
     }
-
-    if (m_pOutBuffer)
-    {
-	HX_RELEASE(m_pOutBuffer);
-    }
-
+    
+    HX_RELEASE(m_pOutBuffer);
     HX_RELEASE(m_pContext);
+
     return HXR_OK;
 }
 


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

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