git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97a7aec
)
s3: Don't use talloc_autofree_context in map_file
author
Volker Lendecke
<vl@samba.org>
Sat, 9 Oct 2010 08:12:06 +0000
(10:12 +0200)
committer
Volker Lendecke
<vl@samba.org>
Wed, 20 Oct 2010 16:09:19 +0000
(18:09 +0200)
lib/util/util_file.c
patch
|
blob
|
history
diff --git
a/lib/util/util_file.c
b/lib/util/util_file.c
index aa0b2d5855782d025ccf9780e70711111c2602c2..7c00dd8b579828e8af206e6273757e2bbd2ae083 100644
(file)
--- 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",