X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-distro%2Frecipes-security%2Fgssproxy%2Ffiles%2FFix-memory-leak.patch;fp=meta-starlingx%2Fmeta-stx-distro%2Frecipes-security%2Fgssproxy%2Ffiles%2FFix-memory-leak.patch;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=540c1ef0db1f3739f684204ed9a13e909e3a8004;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Fix-memory-leak.patch b/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Fix-memory-leak.patch deleted file mode 100644 index 540c1ef..0000000 --- a/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Fix-memory-leak.patch +++ /dev/null @@ -1,25 +0,0 @@ -From abcd9ae04b1c3f9f0ebb72bd48737b08d5d7fe65 Mon Sep 17 00:00:00 2001 -From: Simo Sorce -Date: Thu, 25 May 2017 21:35:37 -0400 -Subject: [PATCH] Fix memory leak - -Signed-off-by: Simo Sorce -Reviewed-by: Robbie Harwood -Related-to: #176 -(cherry picked from commit 69a73d85eb3e70fdc7501794d5fd11a73a1d20fa) ---- - proxy/src/gp_export.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/proxy/src/gp_export.c b/proxy/src/gp_export.c -index f44da50..4e081df 100644 ---- a/proxy/src/gp_export.c -+++ b/proxy/src/gp_export.c -@@ -381,6 +381,7 @@ uint32_t gp_export_gssx_cred(uint32_t *min, struct gp_call_ctx *gpcall, - - done: - *min = ret_min; -+ gss_release_buffer(&ret_min, &token); - gss_release_name(&ret_min, &name); - gss_release_oid_set(&ret_min, &mechanisms); - return ret_maj;