Call correct function to free memory
authorDaniel Kouřil <kouril@ics.muni.cz>
Wed, 19 Jan 2005 14:40:51 +0000 (14:40 +0000)
committerDaniel Kouřil <kouril@ics.muni.cz>
Wed, 19 Jan 2005 14:40:51 +0000 (14:40 +0000)
org.glite.lb.common/src/lb_gss.c

index 58822e0..778b4df 100644 (file)
@@ -827,7 +827,7 @@ edg_wll_gss_read(edg_wll_GssConnection *connection, void *buf, size_t bufsize,
    memcpy(buf, output_token.value, output_token.length);
 
    ret = output_token.length;
-   gss_release_cred(&min_stat, &output_token);
+   gss_release_buffer(&min_stat, &output_token);
 
    return ret;
 }