[omniORB] 1 byte memory leak in sslTransportImpl.cc

Jiang Wei sdjiangwei at gmail.com
Mon Jun 1 16:10:47 BST 2009


Index: src/lib/omniORB/orbcore/ssl/sslTransportImpl.cc
===================================================================
RCS file:
/cvsroot/omniorb/omni/src/lib/omniORB/orbcore/ssl/Attic/sslTransportImpl.cc,v
retrieving revision 1.1.4.6
diff -u -b -r1.1.4.6 sslTransportImpl.cc
--- src/lib/omniORB/orbcore/ssl/sslTransportImpl.cc 6 May 2009 16:14:49
-0000 1.1.4.6
+++ src/lib/omniORB/orbcore/ssl/sslTransportImpl.cc 1 Jun 2009 07:10:56
-0000
@@ -129,6 +129,7 @@
return 0;

if (*host == '\0') {
+ CORBA::string_free(host);
// No name in param -- try environment variable.
const char* hostname = getenv(OMNIORB_USEHOSTNAME_VAR);
if (hostname)




More information about the omniORB-list mailing list