Message ID | 20120712224207.GG24162@fieldses.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/net/sunrpc/auth_gss/gss_krb5_mech.c b/net/sunrpc/auth_gss/gss_krb5_mech.c index a32bb4f..3bc4a23 100644 --- a/net/sunrpc/auth_gss/gss_krb5_mech.c +++ b/net/sunrpc/auth_gss/gss_krb5_mech.c @@ -695,11 +695,11 @@ gss_import_sec_context_kerberos(const void *p, size_t len, else ret = gss_import_v2_context(p, end, ctx, gfp_mask); - if (ret == 0) + if (ret == 0) { ctx_id->internal_ctx_id = ctx; if (endtime) *endtime = ctx->endtime; - else + } else kfree(ctx); dprintk("RPC: %s: returning %d\n", __func__, ret);