* server_stubs.c (CHANGEPW_SERVICE): Modify to free allocated
authorEzra Peisach <epeisach@mit.edu>
Wed, 15 Oct 1997 01:19:09 +0000 (01:19 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 15 Oct 1997 01:19:09 +0000 (01:19 +0000)
commitee735952aa05a83f92d09a67c15ca93cee1892d4
tree83d8b6ffe1fcfeed9842103308dac922d5fcb052
parent551ad509be294e963550d9e0f23149c76060cb7f
* server_stubs.c (CHANGEPW_SERVICE): Modify to free allocated
          memory in request.
(setup_gss_names): Free memory in case of failure.
(chrand_principal_1): Call free_server_handle for failure
   cleanup.

* ovsec_kadmd.c (main): Cleanup memory by calling acl_finish,
  gss_release_name, and krb5_free_context

Some of these fixes are to make accounting easier with Purify upon
shutdown while the server_stubs.c fixes take care of a per-request memory
leak present for many requests.

automatically CVS: CVS: Committing in .  CVS: CVS: Modified Files:
----------------------------------------------------------------------

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10233 dc483132-0cff-0310-8789-dd5450dbe970
src/kadmin/server/ChangeLog
src/kadmin/server/ovsec_kadmd.c
src/kadmin/server/server_stubs.c