git.samba.org
/
gd
/
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()
[gd/samba-autobuild/.git]
/
source3
/
libgpo
/
gpext
/
scripts.c
diff --git
a/source3/libgpo/gpext/scripts.c
b/source3/libgpo/gpext/scripts.c
index de664133b87dfb924195d439a0e10c64127a7bd7..dfa9958e326a702d0de9130f8167706ee31f188d 100644
(file)
--- a/
source3/libgpo/gpext/scripts.c
+++ b/
source3/libgpo/gpext/scripts.c
@@
-364,7
+364,7
@@
static NTSTATUS scripts_process_group_policy(TALLOC_CTX *mem_ctx,
GP_SCRIPTS_INI_LOGOFF
};
const struct GROUP_POLICY_OBJECT *gpo;
- char *gpo_cache_path = cache_path(GPO_CACHE_DIR);
+ char *gpo_cache_path = cache_path(
talloc_tos(),
GPO_CACHE_DIR);
if (gpo_cache_path == NULL) {
return NT_STATUS_NO_MEMORY;
}