git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
660d779
)
s3:vfs_acl_tdb: don't leak state_path() to talloc_tos() in acl_tdb_init()
author
Michael Adam
<obnox@samba.org>
Thu, 15 Jan 2009 22:31:17 +0000
(23:31 +0100)
committer
Michael Adam
<obnox@samba.org>
Fri, 16 Jan 2009 00:02:21 +0000
(
01:02
+0100)
Michael
source3/modules/vfs_acl_tdb.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_acl_tdb.c
b/source3/modules/vfs_acl_tdb.c
index a7969814bf420911db0d26857d12cd7dcfa2e968..be28b5f0d896832d20ad3582de8d95978719b60c 100644
(file)
--- a/
source3/modules/vfs_acl_tdb.c
+++ b/
source3/modules/vfs_acl_tdb.c
@@
-61,10
+61,12
@@
static bool acl_tdb_init(struct db_context **pp_db)
#else
errno = ENOSYS;
#endif
+ TALLOC_FREE(dbname);
return false;
}
ref_count++;
+ TALLOC_FREE(dbname);
return true;
}