git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3994c42
)
s3: fix the build of registry.so gpext.
author
Günther Deschner
<gd@samba.org>
Sun, 12 Oct 2008 22:39:37 +0000
(
00:39
+0200)
committer
Günther Deschner
<gd@samba.org>
Sun, 12 Oct 2008 22:39:37 +0000
(
00:39
+0200)
Guenther
source3/libgpo/gpext/registry.c
patch
|
blob
|
history
diff --git
a/source3/libgpo/gpext/registry.c
b/source3/libgpo/gpext/registry.c
index 188a48ab49d292319cd241d1d3739852ca4d8ac7..f50149840726b61524ad01371c6186e53fc79588 100644
(file)
--- a/
source3/libgpo/gpext/registry.c
+++ b/
source3/libgpo/gpext/registry.c
@@
-410,7
+410,7
@@
static NTSTATUS reg_parse_registry(TALLOC_CTX *mem_ctx,
return status;
}
- buf = (uint16 *)file_load(real_filename, &n, 0);
+ buf = (uint16 *)file_load(real_filename, &n, 0
, NULL
);
if (!buf) {
TALLOC_FREE(reg_file);
return NT_STATUS_CANNOT_LOAD_REGISTRY_FILE;
@@
-455,7
+455,7
@@
static NTSTATUS reg_parse_registry(TALLOC_CTX *mem_ctx,
status = NT_STATUS_OK;
out:
-
SAFE
_FREE(buf);
+
TALLOC
_FREE(buf);
prs_mem_free(&ps);
return status;