1 |
Resolves: #929358 |
2 |
|
3 |
Author: Rich Megginson <rmeggins@redhat.com> |
4 |
Backported-By: Jan Synacek <jsynacek@redhat.com> |
5 |
|
6 |
--- openldap-2.4.39/libraries/libldap/tls_m.c 2014-01-25 14:36:15.000000000 +0100 |
7 |
+++ openldap-2.4.39/libraries/libldap/tls_m.c 2014-03-13 09:52:15.392643968 +0100 |
8 |
@@ -2063,6 +2063,8 @@ tlsm_ctx_free ( tls_ctx *ctx ) |
9 |
"TLS: could not close certdb slot - error %d:%s.\n", |
10 |
errcode, PR_ErrorToString( errcode, PR_LANGUAGE_I_DEFAULT ), 0 ); |
11 |
} |
12 |
+ PK11_FreeSlot( c->tc_certdb_slot ); |
13 |
+ c->tc_certdb_slot = NULL; |
14 |
} |
15 |
if ( c->tc_pin_file ) { |
16 |
PL_strfree( c->tc_pin_file ); |