Skip to content
Snippets Groups Projects
Commit 090ef025 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

partial fulfilment of ITS#1710

parent 49ab777b
No related branches found
No related tags found
No related merge requests found
......@@ -257,6 +257,7 @@ monitor_cache_release(
ldap_pvt_thread_mutex_unlock( &mi->mi_cache_mutex );
ch_free( mc );
ldap_pvt_thread_mutex_unlock( &mp->mp_mutex );
ldap_pvt_thread_mutex_destroy( &mp->mp_mutex );
ch_free( mp );
e->e_private = NULL;
......
......@@ -369,6 +369,16 @@ monitor_subsys_conn_create(
c = connection_next( c, &connindex )) {
if ( conn_create( c, &e ) || e == NULL ) {
connection_done(c);
for ( ; e_tmp != NULL; ) {
mp = ( struct monitorentrypriv * )e_tmp->e_private;
e = mp->mp_next;
ch_free( mp );
e_tmp->e_private = NULL;
entry_free( e_tmp );
e_tmp = e;
}
return( -1 );
}
mp = ( struct monitorentrypriv * )e->e_private;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment