git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4076d87
)
Removed obvious memleak
author
Daniel Kouřil
<kouril@ics.muni.cz>
Wed, 19 Jan 2005 14:31:53 +0000
(14:31 +0000)
committer
Daniel Kouřil
<kouril@ics.muni.cz>
Wed, 19 Jan 2005 14:31:53 +0000
(14:31 +0000)
org.glite.lb.common/src/lb_gss.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.common/src/lb_gss.c
b/org.glite.lb.common/src/lb_gss.c
index
a9de75f
..
58822e0
100644
(file)
--- a/
org.glite.lb.common/src/lb_gss.c
+++ b/
org.glite.lb.common/src/lb_gss.c
@@
-826,7
+826,10
@@
edg_wll_gss_read(edg_wll_GssConnection *connection, void *buf, size_t bufsize,
}
memcpy(buf, output_token.value, output_token.length);
- return output_token.length;
+ ret = output_token.length;
+ gss_release_cred(&min_stat, &output_token);
+
+ return ret;
}
int