From fde95747cb6aa9e2b71e4c81f31a2c5dc449cc73 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 3 Nov 2005 10:56:49 +0000 Subject: [PATCH] plug leaks --- libraries/librewrite/session.c | 2 ++ 1 file changed, 2 insertions(+) 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 ); } /* -- 2.39.5