Bug 1553 - Patch for memory leak in GSI
: Patch for memory leak in GSI
Status: RESOLVED FIXED
: GSI C
Credentials and Proxies
: 2.4.0
: PC All
: P2 normal
: 3.2
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-02-13 16:20 by
Modified: 2008-08-11 15:03 (History)


Attachments


Note

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


Description From 2004-02-13 16:20:44
This is a patch for a memory leak in GSI. It was written by David Smith at 
CERN and has been tested as part of the VDT.

--- bad/gsi/proxy/proxy_core/source/library/globus_gsi_proxy.c  Fri Aug 22 
20:40:46 2003
+++ fix/gsi/proxy/proxy_core/source/library/globus_gsi_proxy.c  Mon Feb  2 
18:17:55 2004
@@ -999,6 +999,8 @@
             ASN1_OCTET_STRING_free(ku_DER_string);
             goto done;
         }
+
+        ASN1_OCTET_STRING_free(ku_DER_string);
         
         if(!X509_add_ext(new_pc, extension, 0))
         {
------- Comment #1 From 2004-02-14 15:56:32 -------
I've committed the fix to all applicable branches. Let me know if you require a
update package.