git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/util use modules_path(), data_path() and shlib_ext() from source3
[ira/wip.git]
/
libgpo
/
gpext
/
gpext.c
diff --git
a/libgpo/gpext/gpext.c
b/libgpo/gpext/gpext.c
index f38d87358abc0085556e0440245e1bff07d91fd2..ac6c181e34c671fce96fe9cbb871c7ea78690ac4 100644
(file)
--- a/
libgpo/gpext/gpext.c
+++ b/
libgpo/gpext/gpext.c
@@
-492,7
+492,8
@@
static NTSTATUS gp_glob_ext_list(TALLOC_CTX *mem_ctx,
SMB_STRUCT_DIR *dir = NULL;
SMB_STRUCT_DIRENT *dirent = NULL;
- dir = sys_opendir(modules_path(SAMBA_SUBSYSTEM_GPEXT));
+ dir = sys_opendir(modules_path(talloc_tos(),
+ SAMBA_SUBSYSTEM_GPEXT));
if (!dir) {
return map_nt_error_from_unix(errno);
}