git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: Pass mem_ctx to cache_path()
[bbaumbach/samba-autobuild/.git]
/
source3
/
profile
/
profile.c
diff --git
a/source3/profile/profile.c
b/source3/profile/profile.c
index 833c9c4425de4d1caf57f5b942a51b2002cf6ef5..5deef81b6df15dad6206511bfd0dda545e38aad8 100644
(file)
--- a/
source3/profile/profile.c
+++ b/
source3/profile/profile.c
@@
-129,7
+129,7
@@
bool profile_setup(struct messaging_context *msg_ctx, bool rdonly)
return true;
}
- db_name = cache_path("smbprofile.tdb");
+ db_name = cache_path(
talloc_tos(),
"smbprofile.tdb");
if (db_name == NULL) {
return false;
}