git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()
[samba.git]
/
source3
/
smbd
/
ipc.c
diff --git
a/source3/smbd/ipc.c
b/source3/smbd/ipc.c
index 0b12179adc6b0f7c461ae72d212bc7f2e8e2e67a..aee6f58fff36aef2184a5e83e480859e5492b6f0 100644
(file)
--- a/
source3/smbd/ipc.c
+++ b/
source3/smbd/ipc.c
@@
-298,7
+298,7
@@
static void api_dcerpc_cmd_write_done(struct tevent_req *subreq)
goto send;
}
- state->data =
TALLOC_REALLOC_ARRAY
(state, state->data, uint8_t,
+ state->data =
talloc_realloc
(state, state->data, uint8_t,
state->max_read);
if (state->data == NULL) {
reply_nterror(req, NT_STATUS_NO_MEMORY);