diff options
author | Chris Provenzano <proven@mit.edu> | 1995-05-11 23:07:45 +0000 |
---|---|---|
committer | Chris Provenzano <proven@mit.edu> | 1995-05-11 23:07:45 +0000 |
commit | cfe0c6a4eee49160d2616699fb4516a01ee629f4 (patch) | |
tree | e081a1eec35ee91fc88987e8d077db86f0e3e151 /src/lib/krb5/krb/mk_safe.c | |
parent | 74311dbe335a1b3d5d605d172a6341a20d2e2a71 (diff) | |
download | krb5-cfe0c6a4eee49160d2616699fb4516a01ee629f4.zip krb5-cfe0c6a4eee49160d2616699fb4516a01ee629f4.tar.gz krb5-cfe0c6a4eee49160d2616699fb4516a01ee629f4.tar.bz2 |
* mk_cred.c (krb5_mk_cred()), mk_priv.c (krb5_mk_priv()),
* mk_safe.c (krb5_mk_safe()), rd_cred.c (krb5_rd_cred()),
* rd_priv.c (krb5_rd_prev()), rd_safe.c (krb5_rd_safe()):
Pass the contents pointer returned from krb5_make_fulladdr()
to free() not the address of the pointer.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5801 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb/mk_safe.c')
-rw-r--r-- | src/lib/krb5/krb/mk_safe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/krb5/krb/mk_safe.c b/src/lib/krb5/krb/mk_safe.c index 53817fa..06861fb 100644 --- a/src/lib/krb5/krb/mk_safe.c +++ b/src/lib/krb5/krb/mk_safe.c @@ -180,7 +180,7 @@ krb5_mk_safe(context, auth_context, userdata, outbuf, outdata) if (!(retval = krb5_make_fulladdr(context, auth_context->local_addr, auth_context->local_port, &local_fulladdr))){ - CLEANUP_PUSH(&local_fulladdr.contents, free); + CLEANUP_PUSH(local_fulladdr.contents, free); plocal_fulladdr = &local_fulladdr; } else { goto error; @@ -196,7 +196,7 @@ krb5_mk_safe(context, auth_context, userdata, outbuf, outdata) if (!(retval = krb5_make_fulladdr(context,auth_context->remote_addr, auth_context->remote_port, &remote_fulladdr))){ - CLEANUP_PUSH(&remote_fulladdr.contents, free); + CLEANUP_PUSH(remote_fulladdr.contents, free); premote_fulladdr = &remote_fulladdr; } else { CLEANUP_DONE(); |