Skip to content

Commit

Permalink
Use internal release function in oid_ops.c
Browse files Browse the repository at this point in the history
In the end the internal one is called in all cases, but it seem
cleaner to use the internal one instead of relying on the redirection.
  • Loading branch information
simo5 authored and greghudson committed Jul 18, 2012
1 parent 177e9e3 commit 6892e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/gssapi/generic/oid_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ generic_gss_copy_oid_set(OM_uint32 *minor_status,
*new_oidset = copy;
done:
if (major != GSS_S_COMPLETE) {
(void) gss_release_oid_set(&minor, &copy);
(void) generic_gss_release_oid_set(&minor, &copy);
}

return (major);
Expand Down

0 comments on commit 6892e24

Please sign in to comment.