Bug 1542 - Memory leak in globus_io
: Memory leak in globus_io
Status: RESOLVED WONTFIX
: XIO
GlobusIO
: 0.1
: PC All
: P2 major
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-02-13 13:49 by
Modified: 2005-12-02 15:17 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-02-13 13:49:41
Here is a patch to fix a memory leak in globus_io. It has been heavily tested 
in the VDT, both in the US and in Europe.

--- 
globus_2_4_3_adv2003_fix892_fix956_more/io/source/library/globus_io_common.c   
 Fri Mar 28 23:48:21 2003
+++ 
globus_2_4_3_adv2003_fix892_fix956_plus/io/source/library/globus_io_common.c   
 Sun Jan  4 05:08:38 2004
@@ -661,6 +661,11 @@
                   &handle->securesocket_attr.credential);
        handle->securesocket_attr.credential = GSS_C_NO_CREDENTIAL;
     }
+    if(handle->securesocket_attr.authorized_identity != GLOBUS_NULL)
+    {
+        globus_free(handle->securesocket_attr.authorized_identity);
+        handle->securesocket_attr.authorized_identity = GLOBUS_NULL;
+    }
     
     globus_callback_space_destroy(handle->socket_attr.space);
 }
------- Comment #1 From 2004-06-19 00:22:12 -------
No longer relevant.  GT 3.2's globus io is rewritten as a wrapper around xio.