s/leave/func_leave/ (ITS#5411)

This commit is contained in:
Pierangelo Masarati 2008-03-15 18:16:21 +00:00
parent 4117b4d44e
commit 14c425b922
2 changed files with 7 additions and 7 deletions

View File

@ -1480,7 +1480,7 @@ retry:;
}
rc = 0;
goto leave;
goto func_leave;
}
rc = ldap_back_op_result( lc, op, rs, msgid,
@ -1499,7 +1499,7 @@ done:;
ldap_set_rebind_proc( lc->lc_ld, li->li_rebind_f, lc );
}
leave:;
func_leave:;
if ( op->o_callback == &cb )
op->o_callback = cb.sc_next;
op->o_tag = o_tag;

View File

@ -2239,10 +2239,10 @@ integerIndexer(
}
rc = integerVal2Key( &values[i], &keys[i], &itmp, ctx );
if ( rc )
goto leave;
goto func_leave;
}
*keysp = keys;
leave:
func_leave:
if ( itmp.bv_val != ibuf ) {
slap_sl_free( itmp.bv_val, ctx );
}
@ -3142,7 +3142,7 @@ serialNumberAndIssuerNormalize(
sn2.bv_len = sn.bv_len;
if ( lutil_str2bin( &sn, &sn2, ctx )) {
rc = LDAP_INVALID_SYNTAX;
goto leave;
goto func_leave;
}
/* make room for sn + "$" */
@ -3154,7 +3154,7 @@ serialNumberAndIssuerNormalize(
out->bv_len = 0;
slap_sl_free( ni.bv_val, ctx );
rc = LDAP_OTHER;
goto leave;
goto func_leave;
}
n = 0;
@ -3192,7 +3192,7 @@ serialNumberAndIssuerNormalize(
Debug( LDAP_DEBUG_TRACE, "<<< serialNumberAndIssuerNormalize: <%s>\n",
out->bv_val, 0, 0 );
leave:
func_leave:
if ( stmp != sbuf )
slap_sl_free( stmp, ctx );
slap_sl_free( ni.bv_val, ctx );