diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-12 17:34:43 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-12 17:34:43 +0200 |
commit | 1b99d8fbb591bedb375c1251d5d29a5674e1b74a (patch) | |
tree | 5e4cf4d115081057750349373184ad7df8894e61 /source3/libgpo | |
parent | 652f0e601da0d1d2e2c8b9281bbee9fa399d9877 (diff) | |
download | samba-1b99d8fbb591bedb375c1251d5d29a5674e1b74a.tar.gz samba-1b99d8fbb591bedb375c1251d5d29a5674e1b74a.tar.bz2 samba-1b99d8fbb591bedb375c1251d5d29a5674e1b74a.zip |
Use common util_file code.
Diffstat (limited to 'source3/libgpo')
-rw-r--r-- | source3/libgpo/gpo_ini.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libgpo/gpo_ini.c b/source3/libgpo/gpo_ini.c index 54aaffa477..aa8f7c7770 100644 --- a/source3/libgpo/gpo_ini.c +++ b/source3/libgpo/gpo_ini.c @@ -63,7 +63,7 @@ static NTSTATUS convert_file_from_ucs2(TALLOC_CTX *mem_ctx, return NT_STATUS_INVALID_PARAMETER; } - data_in = (uint8 *)file_load(filename_in, &n, 0); + data_in = (uint8 *)file_load(filename_in, &n, 0, NULL); if (!data_in) { status = NT_STATUS_NO_SUCH_FILE; goto out; @@ -116,7 +116,7 @@ static NTSTATUS convert_file_from_ucs2(TALLOC_CTX *mem_ctx, close(tmp_fd); } - SAFE_FREE(data_in); + TALLOC_FREE(data_in); return status; } |