diff options
Diffstat (limited to 'source3/modules/vfs_preopen.c')
-rw-r--r-- | source3/modules/vfs_preopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_preopen.c b/source3/modules/vfs_preopen.c index e0d1fd7ec0..b29a4c4351 100644 --- a/source3/modules/vfs_preopen.c +++ b/source3/modules/vfs_preopen.c @@ -166,7 +166,7 @@ static bool preopen_helper_open_one(int sock_fd, char **pnamebuf, nread += thistime; if (nread == talloc_get_size(namebuf)) { - namebuf = TALLOC_REALLOC_ARRAY( + namebuf = talloc_realloc( NULL, namebuf, char, talloc_get_size(namebuf) * 2); if (namebuf == NULL) { |