From 57dfdca12356e14922bddc6eef478f7eda47944a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20Salvet?= Date: Tue, 1 Feb 2005 13:06:48 +0000 Subject: [PATCH] Fix memory leak. --- org.glite.lb.common/src/lb_gss.c | 1 + 1 file changed, 1 insertion(+) diff --git a/org.glite.lb.common/src/lb_gss.c b/org.glite.lb.common/src/lb_gss.c index 2cffcb1..19dfe1d 100644 --- a/org.glite.lb.common/src/lb_gss.c +++ b/org.glite.lb.common/src/lb_gss.c @@ -811,6 +811,7 @@ edg_wll_gss_read(edg_wll_GssConnection *connection, void *buf, size_t bufsize, maj_stat = gss_unwrap(&min_stat, connection->context, &input_token, &output_token, NULL, NULL); + gss_release_buffer(&min_stat, &input_token); if (GSS_ERROR(maj_stat)) { /* XXX cleanup */ return EDG_WLL_GSS_ERROR_GSS; -- 1.8.2.3