[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-client-cvs
Subject: [Client-cvs] core hxflsrc.cpp,1.126.2.4.2.2,1.126.2.4.2.3
From: ching_li () helixcommunity ! org
Date: 2011-01-24 2:07:59
Message-ID: 201101240208.p0O280L3026666 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/client/core
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv25327
Modified Files:
Tag: hxclient_3_6_1_atlas
hxflsrc.cpp
Log Message:
Fix a memory leak issue.
Index: hxflsrc.cpp
===================================================================
RCS file: /cvsroot/client/core/hxflsrc.cpp,v
retrieving revision 1.126.2.4.2.2
retrieving revision 1.126.2.4.2.3
diff -u -d -r1.126.2.4.2.2 -r1.126.2.4.2.3
--- hxflsrc.cpp 3 Dec 2010 08:15:46 -0000 1.126.2.4.2.2
+++ hxflsrc.cpp 24 Jan 2011 02:07:56 -0000 1.126.2.4.2.3
@@ -875,6 +875,8 @@
HX_VECTOR_DELETE(m_pExtension);
m_pExtension = ::new_string(pExtension);
}
+
+ HX_VECTOR_DELETE(pszURL);
}
if (!m_pCurrentFileFormatUnk)
@@ -976,8 +978,6 @@
theErr = InitializeFileFormat();
}
- HX_VECTOR_DELETE(pszURL);
-
// if there is an error, make sure there is no m_pCurrentFileFormatUnk...
// if m_pCurrentFileFormatUnk is not NULL, it means we need to try
// the next plugin that supports this mimetype.
_______________________________________________
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