summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-13 00:39:37 +0200
committerGünther Deschner <gd@samba.org>2008-10-13 00:39:37 +0200
commitf97d92ccbc1779f88a76703f2f83db170cf1abaf (patch)
treed14ad57b27b01e1b60fc7e9c143e25b5ef472ba0
parent3994c42f1938e35218cd5708fcc5a22b1b9a761d (diff)
downloadsamba-f97d92ccbc1779f88a76703f2f83db170cf1abaf.tar.gz
samba-f97d92ccbc1779f88a76703f2f83db170cf1abaf.tar.bz2
samba-f97d92ccbc1779f88a76703f2f83db170cf1abaf.zip
s3: fix the build of registry.so gpext.
Guenther
-rw-r--r--source3/libgpo/gpext/registry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libgpo/gpext/registry.c b/source3/libgpo/gpext/registry.c
index 188a48ab49..f501498407 100644
--- 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;