fix one-time leak (non critical)

This commit is contained in:
Pierangelo Masarati 2008-12-11 23:18:54 +00:00
parent 7681642bcf
commit 416a544a9e

View file

@ -251,6 +251,14 @@ tool_destroy( void )
pr_cookie.bv_val = NULL;
pr_cookie.bv_len = 0;
}
if ( binddn != NULL ) {
ber_memfree( binddn );
}
if ( passwd.bv_val != NULL ) {
ber_memfree( passwd.bv_val );
}
}
void