summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-01-15 23:31:17 +0100
committerMichael Adam <obnox@samba.org>2009-01-16 01:02:21 +0100
commit2f06192523633939c2df87e05c3f97655455da27 (patch)
treea6468df5dae7e02ff050a88323642cf4ab7407a3 /source3/modules
parent660d7794b67c1af9d699e5f99b9e5275b06ad67b (diff)
downloadsamba-2f06192523633939c2df87e05c3f97655455da27.tar.gz
samba-2f06192523633939c2df87e05c3f97655455da27.tar.bz2
samba-2f06192523633939c2df87e05c3f97655455da27.zip
s3:vfs_acl_tdb: don't leak state_path() to talloc_tos() in acl_tdb_init()
Michael
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_acl_tdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/modules/vfs_acl_tdb.c b/source3/modules/vfs_acl_tdb.c
index a7969814bf..be28b5f0d8 100644
--- 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;
}