[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha6-226-g77bac5b
Jeremy Allison
jra at samba.org
Fri Jan 30 01:17:46 GMT 2009
The branch, master has been updated
via 77bac5b78c10d816e02a8a407b0a4653d72868a0 (commit)
from 864852a4ae1b0c0d1cf1afdcd042c9113f51acd6 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 77bac5b78c10d816e02a8a407b0a4653d72868a0
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jan 29 17:16:34 2009 -0800
Fix coverity CID#66. Resource leak in error path.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
lib/util/xfile.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/lib/util/xfile.c b/lib/util/xfile.c
index cf19570..16499e1 100644
--- a/lib/util/xfile.c
+++ b/lib/util/xfile.c
@@ -112,6 +112,7 @@ XFILE *x_fopen(const char *fname, int flags, mode_t mode)
if ((flags & O_ACCMODE) == O_RDWR) {
/* we don't support RDWR in XFILE - use file
descriptors instead */
+ SAFE_FREE(ret);
errno = EINVAL;
return NULL;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list