diff options
| author | Doug Rabson <dfr@FreeBSD.org> | 2008-05-07 13:53:12 +0000 |
|---|---|---|
| committer | Doug Rabson <dfr@FreeBSD.org> | 2008-05-07 13:53:12 +0000 |
| commit | 33f12199250a09b573f7a518b523fdac3f120b8f (patch) | |
| tree | 1338a6c0e5d3e7c3b0da720ac15cd79fc72c6b5a /lib/libgssapi/gss_release_name.c | |
| parent | 4fe54d7c6acb302aacc6ac18798804b26c882c13 (diff) | |
Notes
Diffstat (limited to 'lib/libgssapi/gss_release_name.c')
| -rw-r--r-- | lib/libgssapi/gss_release_name.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libgssapi/gss_release_name.c b/lib/libgssapi/gss_release_name.c index 4294ad7c4b48..08ae10a26ec3 100644 --- a/lib/libgssapi/gss_release_name.c +++ b/lib/libgssapi/gss_release_name.c @@ -38,7 +38,6 @@ gss_release_name(OM_uint32 *minor_status, gss_name_t *input_name) { struct _gss_name *name = (struct _gss_name *) *input_name; - struct _gss_mech_switch *m; *minor_status = 0; if (name) { @@ -53,7 +52,8 @@ gss_release_name(OM_uint32 *minor_status, free(mn); } gss_release_buffer(minor_status, &name->gn_value); - *input_name = 0; + free(name); + *input_name = GSS_C_NO_NAME; } return (GSS_S_COMPLETE); } |
