From 62bea12c5dbb0e6ec6d74a3d2f8988f183572782 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 9 Oct 2010 10:12:06 +0200 Subject: s3: Don't use talloc_autofree_context in map_file --- lib/util/util_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util') 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", -- cgit