diff options
author | Volker Lendecke <vl@samba.org> | 2010-10-09 10:12:06 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-10-20 18:09:19 +0200 |
commit | 62bea12c5dbb0e6ec6d74a3d2f8988f183572782 (patch) | |
tree | 2cffdb2e7cf268cc4b683c0be8c25840ae35ba87 /lib/util | |
parent | 97a7aec44aafde75208aaad24b42de1c93cdb97b (diff) | |
download | samba-62bea12c5dbb0e6ec6d74a3d2f8988f183572782.tar.gz samba-62bea12c5dbb0e6ec6d74a3d2f8988f183572782.tar.bz2 samba-62bea12c5dbb0e6ec6d74a3d2f8988f183572782.zip |
s3: Don't use talloc_autofree_context in map_file
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/util_file.c | 2 |
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", |