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

List:       helix-protocol-cvs
Subject:    [Protocol-cvs] rtsp rtspclnt.cpp,1.63.2.8,1.63.2.8.2.1
From:       gwright () helixcommunity ! org
Date:       2004-12-13 23:10:27
[Download RAW message or body]

Update of /cvsroot/protocol/rtsp
In directory cvs-new:/tmp/cvs-serv31717

Modified Files:
      Tag: hxclient_1_4_2_neptunex
	rtspclnt.cpp 
Log Message:
Merging check for NULL to 142 for linux gold dot release.



Index: rtspclnt.cpp
===================================================================
RCS file: /cvsroot/protocol/rtsp/rtspclnt.cpp,v
retrieving revision 1.63.2.8
retrieving revision 1.63.2.8.2.1
diff -u -d -r1.63.2.8 -r1.63.2.8.2.1
--- rtspclnt.cpp	13 Jul 2004 18:52:43 -0000	1.63.2.8
+++ rtspclnt.cpp	13 Dec 2004 23:10:25 -0000	1.63.2.8.2.1
@@ -7062,13 +7062,16 @@
 {
     HX_RELEASE(m_pSDPFileHeader);
 
-    CHXSimpleList::Iterator i;
-    for(i=m_pSDPStreamHeaders->Begin();i!=m_pSDPStreamHeaders->End();++i)
+    if (m_pSDPStreamHeaders)
     {
-	IHXValues* pStreamHeader = (IHXValues*)(*i);
-        HX_RELEASE(pStreamHeader);
+        CHXSimpleList::Iterator i;
+        for(i=m_pSDPStreamHeaders->Begin();i!=m_pSDPStreamHeaders->End();++i)
+        {
+            IHXValues* pStreamHeader = (IHXValues*)(*i);
+            HX_RELEASE(pStreamHeader);
+        }
+        HX_DELETE(m_pSDPStreamHeaders);
     }
-    HX_DELETE(m_pSDPStreamHeaders);
 }
 
 #if defined(HELIX_FEATURE_TRANSPORT_MULTICAST)



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

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