From: Pierangelo Masarati Date: Thu, 3 Nov 2005 10:56:49 +0000 (+0000) Subject: plug leaks X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~127 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fde95747cb6aa9e2b71e4c81f31a2c5dc449cc73;p=openldap plug leaks --- diff --git a/libraries/librewrite/session.c b/libraries/librewrite/session.c index 536d3be190..3812a27e79 100644 --- a/libraries/librewrite/session.c +++ b/libraries/librewrite/session.c @@ -319,6 +319,8 @@ rewrite_session_free( void *v_session ) ldap_pvt_thread_mutex_unlock( &session->ls_mutex ); ldap_pvt_thread_mutex_destroy( &session->ls_mutex ); #endif /* USE_REWRITE_LDAP_PVT_THREADS */ + + free( session ); } /*