[SCM] Samba Shared Repository - branch master updated
Andreas Schneider
asn at samba.org
Thu Oct 26 15:32:02 UTC 2017
The branch, master has been updated
via 4f45843 s3:vfs_glusterfs: Use SAFE_FREE
from 0e8b781 ctdb-tests: Process-exists unit tests should wait until PID is registered
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 4f458437af227a924474c27ad75c705c23394445
Author: Andreas Schneider <asn at samba.org>
Date: Thu Oct 26 08:05:20 2017 +0200
s3:vfs_glusterfs: Use SAFE_FREE
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
Autobuild-Date(master): Thu Oct 26 17:31:40 CEST 2017 on sn-devel-144
-----------------------------------------------------------------------
Summary of changes:
source3/modules/vfs_glusterfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/modules/vfs_glusterfs.c b/source3/modules/vfs_glusterfs.c
index 32074cb..3534ed7 100644
--- a/source3/modules/vfs_glusterfs.c
+++ b/source3/modules/vfs_glusterfs.c
@@ -1100,7 +1100,7 @@ static struct smb_filename *vfs_gluster_getwd(struct vfs_handle_struct *handle,
ret = glfs_getcwd(handle->data, cwd, PATH_MAX - 1);
if (ret == NULL) {
- free(cwd);
+ SAFE_FREE(cwd);
return NULL;
}
smb_fname = synthetic_smb_fname(ctx,
@@ -1108,7 +1108,7 @@ static struct smb_filename *vfs_gluster_getwd(struct vfs_handle_struct *handle,
NULL,
NULL,
0);
- free(cwd);
+ SAFE_FREE(cwd);
return smb_fname;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list