r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
[abartlet/samba.git/.git] / source4 / rpc_server / samr / samr_password.c
index 085fe450acb8cb33620d686541d81fb7e7ddd70c..ae20de16233438a487c4bfac9dc87a3afb1d7f2d 100644 (file)
@@ -408,11 +408,11 @@ failed:
        }
 
        /* on failure we need to fill in the reject reasons */
-       dominfo = talloc_p(mem_ctx, struct samr_DomInfo1);
+       dominfo = talloc(mem_ctx, struct samr_DomInfo1);
        if (dominfo == NULL) {
                return status;
        }
-       reject = talloc_p(mem_ctx, struct samr_ChangeReject);
+       reject = talloc(mem_ctx, struct samr_ChangeReject);
        if (reject == NULL) {
                return status;
        }
@@ -683,12 +683,12 @@ NTSTATUS samdb_set_password(void *ctx, TALLOC_CTX *mem_ctx,
        }
        
        /* store the password history */
-       new_lmPwdHistory = talloc_array_p(mem_ctx, struct samr_Password, 
+       new_lmPwdHistory = talloc_array(mem_ctx, struct samr_Password, 
                                          pwdHistoryLength);
        if (!new_lmPwdHistory) {
                return NT_STATUS_NO_MEMORY;
        }
-       new_ntPwdHistory = talloc_array_p(mem_ctx, struct samr_Password, 
+       new_ntPwdHistory = talloc_array(mem_ctx, struct samr_Password, 
                                          pwdHistoryLength);
        if (!new_ntPwdHistory) {
                return NT_STATUS_NO_MEMORY;