diff options
Diffstat (limited to 'source3/lib/util_path.c')
-rw-r--r-- | source3/lib/util_path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_path.c b/source3/lib/util_path.c index efe3e608d7d..d9fed29c2a5 100644 --- a/source3/lib/util_path.c +++ b/source3/lib/util_path.c @@ -91,9 +91,9 @@ char *state_path(TALLOC_CTX *mem_ctx, const char *name) * @retval Pointer to a talloc'ed string containing the full path. **/ -char *cache_path(const char *name) +char *cache_path(TALLOC_CTX *mem_ctx, const char *name) { - return xx_path(talloc_tos(), name, lp_cache_directory()); + return xx_path(mem_ctx, name, lp_cache_directory()); } /** |