From 4ca8ca682f903d7fcc0e2c4bf6e116245ef8b7b4 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 8 Mar 2011 20:53:55 +0000 Subject: [PATCH] Fix a memory leak independently found by Tim Pozdeev and Arlene Berry This change should be pulled up to the 1.8 and 1.7 branches as well. ticket: 6844 tags: pullup target_version: 1.9.1 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24693 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/disp_status.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/gssapi/krb5/disp_status.c b/src/lib/gssapi/krb5/disp_status.c index 6b164c249..f04872d8f 100644 --- a/src/lib/gssapi/krb5/disp_status.c +++ b/src/lib/gssapi/krb5/disp_status.c @@ -148,6 +148,7 @@ void krb5_gss_save_error_info(OM_uint32 minor_code, krb5_context ctx) void krb5_gss_delete_error_info(void *p) { gsserrmap_destroy(p); + free(p); } /**/ -- 2.26.2