fix potential double-free (valgrind; ITS#5137)

This commit is contained in:
Pierangelo Masarati 2007-09-14 23:58:00 +00:00
parent 9f36fafe55
commit 9c5c20b1b9

View File

@ -726,9 +726,6 @@ cleanup:;
ldap_memfree( li.li_uri );
li.li_uri = NULL;
op->o_tmpfree( op->o_req_dn.bv_val, op->o_tmpmemctx );
op->o_tmpfree( op->o_req_ndn.bv_val, op->o_tmpmemctx );
if ( temporary ) {
lip->li_uri = NULL;
lip->li_bvuri = NULL;