summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/util_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/util_file.c b/lib/util/util_file.c
index aa0b2d5855..7c00dd8b57 100644
--- a/lib/util/util_file.c
+++ b/lib/util/util_file.c
@@ -235,7 +235,7 @@ _PUBLIC_ void *map_file(const char *fname, size_t size)
}
#endif
if (!p) {
- p = file_load(fname, &s2, 0, talloc_autofree_context());
+ p = file_load(fname, &s2, 0, NULL);
if (!p) return NULL;
if (s2 != size) {
DEBUG(1,("incorrect size for %s - got %d expected %d\n",