summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-07-30 14:50:52 +0200
committerStefan Metzmacher <metze@samba.org>2012-07-31 13:34:53 +0200
commiteaa381a292a6ccb88d969933d7946366d29a3cc4 (patch)
tree89513c42da637c3fda40b0d672b4642b6b53f2c7
parent3bc1f4570e02a6df3a7eff227ef2f44c768b5d40 (diff)
downloadsamba-eaa381a292a6ccb88d969933d7946366d29a3cc4.tar.gz
samba-eaa381a292a6ccb88d969933d7946366d29a3cc4.tar.bz2
samba-eaa381a292a6ccb88d969933d7946366d29a3cc4.zip
s3: Fix Coverity ID 710791 Resource leak
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jul 31 13:34:53 CEST 2012 on sn-devel-104
-rw-r--r--source3/libsmb/libsmb_xattr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/libsmb_xattr.c b/source3/libsmb/libsmb_xattr.c
index 199f225975..03cdc34f92 100644
--- a/source3/libsmb/libsmb_xattr.c
+++ b/source3/libsmb/libsmb_xattr.c
@@ -577,6 +577,7 @@ dos_attr_query(SMBCCTX *context,
&inode)) {
errno = SMBC_errno(context, srv->cli);
DEBUG(5, ("dos_attr_query Failed to query old attributes\n"));
+ TALLOC_FREE(ret);
return NULL;
}