summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-10-09 10:12:06 +0200
committerVolker Lendecke <vl@samba.org>2010-10-20 18:09:19 +0200
commit62bea12c5dbb0e6ec6d74a3d2f8988f183572782 (patch)
tree2cffdb2e7cf268cc4b683c0be8c25840ae35ba87 /lib
parent97a7aec44aafde75208aaad24b42de1c93cdb97b (diff)
downloadsamba-62bea12c5dbb0e6ec6d74a3d2f8988f183572782.tar.gz
samba-62bea12c5dbb0e6ec6d74a3d2f8988f183572782.tar.bz2
samba-62bea12c5dbb0e6ec6d74a3d2f8988f183572782.zip
s3: Don't use talloc_autofree_context in map_file
Diffstat (limited to 'lib')
-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",