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_MEMDUP() to talloc_memdup()
[samba.git]
/
source3
/
lib
/
ctdb_packet.c
diff --git
a/source3/lib/ctdb_packet.c
b/source3/lib/ctdb_packet.c
index 9faf519a6025390b1a1738ff1b5522b2d8e7a5e4..17c70ff2d67e332f22e80ab07008332abaf716db 100644
(file)
--- a/
source3/lib/ctdb_packet.c
+++ b/
source3/lib/ctdb_packet.c
@@
-153,7
+153,7
@@
bool ctdb_packet_handler(struct ctdb_packet_context *ctx,
ctx->in.data = NULL;
ctx->in.length = 0;
} else {
- buf = (uint8_t *)
TALLOC_MEMDUP
(ctx, ctx->in.data, length);
+ buf = (uint8_t *)
talloc_memdup
(ctx, ctx->in.data, length);
if (buf == NULL) {
*status = NT_STATUS_NO_MEMORY;
return true;