]> git.sur5r.net Git - openldap/commitdiff
plug leaks
authorPierangelo Masarati <ando@openldap.org>
Thu, 3 Nov 2005 10:56:49 +0000 (10:56 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 3 Nov 2005 10:56:49 +0000 (10:56 +0000)
libraries/librewrite/session.c

index 536d3be1908a7a9fbda3292e9c9784f65fb8cf4c..3812a27e79dd0949121fbe436cafffb7992da55b 100644 (file)
@@ -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 );
 }
 
 /*