git.samba.org
/
jelmer
/
samba4-debian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r4549: got rid of a lot more uses of plain talloc(), instead using
[jelmer/samba4-debian.git]
/
source
/
ntvfs
/
posix
/
pvfs_resolve.c
diff --git
a/source/ntvfs/posix/pvfs_resolve.c
b/source/ntvfs/posix/pvfs_resolve.c
index 4ad34767950577aff649cbc3d625d1e5310e895f..fc1576b955440a83d4495e952e14bb8a8f42d196 100644
(file)
--- a/
source/ntvfs/posix/pvfs_resolve.c
+++ b/
source/ntvfs/posix/pvfs_resolve.c
@@
-412,7
+412,7
@@
static NTSTATUS pvfs_reduce_name(TALLOC_CTX *mem_ctx, const char **fname, uint_t
}
/* rebuild the name */
- ret = talloc(mem_ctx, len+1);
+ ret = talloc
_size
(mem_ctx, len+1);
if (ret == NULL) {
talloc_free(s);
return NT_STATUS_NO_MEMORY;