krb5 commit: Correct formatting error in gss_duplicate_name()

Greg Hudson ghudson at mit.edu
Wed Mar 29 13:03:51 EDT 2017


https://github.com/krb5/krb5/commit/080e9986fc651692984420f32d14184c796b5f90
commit 080e9986fc651692984420f32d14184c796b5f90
Author: Martin Kittel <martin.kittel at sap.com>
Date:   Thu Mar 16 16:03:54 2017 +0100

    Correct formatting error in gss_duplicate_name()

 src/lib/gssapi/mechglue/g_dup_name.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/lib/gssapi/mechglue/g_dup_name.c b/src/lib/gssapi/mechglue/g_dup_name.c
index 85306fc..cc824fd 100644
--- a/src/lib/gssapi/mechglue/g_dup_name.c
+++ b/src/lib/gssapi/mechglue/g_dup_name.c
@@ -126,7 +126,7 @@ allocation_failure:
 		if (dest_union->external_name) {
 			if (dest_union->external_name->value)
 				free(dest_union->external_name->value);
-				free(dest_union->external_name);
+			free(dest_union->external_name);
 		}
 		if (dest_union->name_type)
 			(void) generic_gss_release_oid(minor_status,


More information about the cvs-krb5 mailing list