Blame SOURCES/Fix-memory-leak.patch

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