From: Daniel KouĊ™il Date: Thu, 7 Apr 2005 07:57:11 +0000 (+0000) Subject: free allocated memory X-Git-Tag: gridsite-core_R_1_1_8~38 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=037be35805ae2ee798caa06bfb2b3cf3ce43bacf;p=jra1mw.git free allocated memory --- diff --git a/org.glite.security.proxyrenewal/src/renew.c b/org.glite.security.proxyrenewal/src/renew.c index c14b6c0..d180330 100644 --- a/org.glite.security.proxyrenewal/src/renew.c +++ b/org.glite.security.proxyrenewal/src/renew.c @@ -73,6 +73,8 @@ load_proxy(const char *cur_file, X509 **cert, EVP_PKEY **priv_key, } end: + if (proxy) + globus_gsi_cred_handle_destroy(proxy); return 0; }