Closed Bug 114041 Opened 24 years ago Closed 24 years ago

previously allocated mutexes leaked when using LDAP_OPT_THREAD_FNS

Categories

(Directory Graveyard :: LDAP C SDK, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mcs, Assigned: mcs)

Details

Attachments

(1 file)

The default mutexes that are allocated by ldap_init() are never freed when a call is made to ldap_set_option( ld, LDAP_OPT_THREAD_FNS, &tfns ) (even though new mutexes are allocated to replace the old ones).
Status: NEW → ASSIGNED
Priority: -- → P1
Attached patch Proposed Fix.Splinter Review
Unless someone stops me I am going to commit this fix very soon (I forgot to do so).
Fix committed: /mozilla/directory/c-sdk/ldap/libraries/libldap/ldap-int.h new revision: 1.2.2.2.20.2.2.4; previous revision: 1.2.2.2.20.2.2.3 /mozilla/directory/c-sdk/ldap/libraries/libldap/open.c new revision: 1.2.2.2.20.2.2.11; previous revision: 1.2.2.2.20.2.2.10 /mozilla/directory/c-sdk/ldap/libraries/libldap/setoption.c new revision: 1.2.2.2.20.2.2.4; previous revision: 1.2.2.2.20.2.2.3 /mozilla/directory/c-sdk/ldap/libraries/libldap/unbind.c new revision: 1.1.16.2.20.2.2.2; previous revision: 1.1.16.2.20.2.2.1 Fix bug # 114041 - previously allocated mutexes leaked when using LDAP_OPT_THREAD_FNS.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Spam for bug 129472
QA Contact: nobody → nobody
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: