Blame SOURCES/Fix-memory-leak.patch

1f3433
From abcd9ae04b1c3f9f0ebb72bd48737b08d5d7fe65 Mon Sep 17 00:00:00 2001
1f3433
From: Simo Sorce <simo@redhat.com>
1f3433
Date: Thu, 25 May 2017 21:35:37 -0400
1f3433
Subject: [PATCH] Fix memory leak
1f3433
1f3433
Signed-off-by: Simo Sorce <simo@redhat.com>
1f3433
Reviewed-by: Robbie Harwood <rharwood@redhat.com>
1f3433
Related-to: #176
1f3433
(cherry picked from commit 69a73d85eb3e70fdc7501794d5fd11a73a1d20fa)
1f3433
---
1f3433
 proxy/src/gp_export.c | 1 +
1f3433
 1 file changed, 1 insertion(+)
1f3433
1f3433
diff --git a/proxy/src/gp_export.c b/proxy/src/gp_export.c
1f3433
index f44da50..4e081df 100644
1f3433
--- a/proxy/src/gp_export.c
1f3433
+++ b/proxy/src/gp_export.c
1f3433
@@ -381,6 +381,7 @@ uint32_t gp_export_gssx_cred(uint32_t *min, struct gp_call_ctx *gpcall,
1f3433
 
1f3433
 done:
1f3433
     *min = ret_min;
1f3433
+    gss_release_buffer(&ret_min, &token);
1f3433
     gss_release_name(&ret_min, &name);
1f3433
     gss_release_oid_set(&ret_min, &mechanisms);
1f3433
     return ret_maj;