]> git.sur5r.net Git - openldap/commitdiff
Fix previous commit
authorHoward Chu <hyc@openldap.org>
Mon, 31 Mar 2003 06:27:16 +0000 (06:27 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 31 Mar 2003 06:27:16 +0000 (06:27 +0000)
servers/slapd/extended.c
servers/slapd/slapi/slapi_utils.c

index 61fa9ac1e428701bdc5b5af1f9c4f6159843e561..60e10e502497a781ea9877544760a8ee85f26d78 100644 (file)
@@ -296,12 +296,12 @@ done2:;
                        send_ldap_result( op, rs );
                }
 
-               if ( op->oq_extended.rs_reqoid.bv_val != NULL ) {
-                       slapi_ch_free( (void **)&op->oq_extended.rs_reqoid.bv_val );
+               if ( rs->sr_rspoid != NULL ) {
+                       ch_free( (char *)rs->sr_rspoid );
                }
 
-               if ( op->oq_extended.rs_reqdata != NULL ) {
-                       ber_bvfree( op->oq_extended.rs_reqdata );
+               if ( rs->sr_rspdata != NULL ) {
+                       ber_bvfree( rs->sr_rspdata );
                }
 
        } /* end of Netscape extended operation */
index 50b2db21d45f23ccfe0d28abcb7db12670135fca..d5b768a61b08775ace87921bd432d1d7bc506144 100644 (file)
@@ -1376,7 +1376,7 @@ slapi_send_ldap_result(
                rs.sr_type = REP_EXTENDED;
                rs.sr_rspoid = extOID;
                slapi_pblock_get( pb, SLAPI_EXT_OP_RET_VALUE, &rs.sr_rspdata );
-               send_ldap_extended_response( op, &rs );
+               send_ldap_extended( op, &rs );
                return;
        }