View | Details | Raw Unified | Return to bug 51307
Collapse All | Expand All

(-)apr_ldap_rebind.c (-2 / +1 lines)
Lines 81-92 Link Here
81
    get_apd
81
    get_apd
82
#endif
82
#endif
83
83
84
#if APR_HAS_THREADS
85
    /* run after apr_thread_mutex_create cleanup */
84
    /* run after apr_thread_mutex_create cleanup */
86
    apr_pool_cleanup_register(pool, &apr_ldap_xref_lock, apr_ldap_pool_cleanup_set_null,
85
    apr_pool_cleanup_register(pool, &apr_ldap_xref_lock, apr_ldap_pool_cleanup_set_null,
87
                              apr_pool_cleanup_null);
86
                              apr_pool_cleanup_null);
88
87
89
88
#if APR_HAS_THREADS
90
    if (apr_ldap_xref_lock == NULL) {
89
    if (apr_ldap_xref_lock == NULL) {
91
        retcode = apr_thread_mutex_create(&apr_ldap_xref_lock, APR_THREAD_MUTEX_DEFAULT, pool);
90
        retcode = apr_thread_mutex_create(&apr_ldap_xref_lock, APR_THREAD_MUTEX_DEFAULT, pool);
92
    }
91
    }

Return to bug 51307