summaryrefslogtreecommitdiffstats
path: root/src/kadmin/server
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2013-04-25 18:10:40 -0400
committerGreg Hudson <ghudson@mit.edu>2013-05-13 01:59:52 -0400
commit0a97afba6986e2818cd26869704820e00efcae63 (patch)
tree72edcb28ef3f7b544329b343da2347139d6e0402 /src/kadmin/server
parentf190b7abe307a005b9f58a634c53d06a3a3381ee (diff)
downloadkrb5-0a97afba6986e2818cd26869704820e00efcae63.tar.gz
krb5-0a97afba6986e2818cd26869704820e00efcae63.tar.xz
krb5-0a97afba6986e2818cd26869704820e00efcae63.zip
Fixes for leaking of refcounted resources
Some fixes, some use of different APIs which seem to clean things up better, with the goal of being able to cleanly shut down NSS when we're done using it. * Use PK11_FreeSlot() instead of SECMOD_CloseUserDB() to close a database opened with SECMOD_OpenUserDB(). * Fix a typo and use PK11_DestroyGenericObject() instead of PK11_DestroyGenericObjects() to destroy one object. * Use SECMOD_DestroyModule() instead of SECMOD_UnloadUserModule() to close a module loaded with SECMOD_LoadUserModule(). * crypto_check_for_revocation_information(): don't leak a reference to the CRL, or to intermediate issuers. * Don't leak a reference to a PEM private key.
Diffstat (limited to 'src/kadmin/server')
0 files changed, 0 insertions, 0 deletions