summaryrefslogtreecommitdiff
path: root/source3/intl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-12 17:34:43 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-12 17:34:43 +0200
commit1b99d8fbb591bedb375c1251d5d29a5674e1b74a (patch)
tree5e4cf4d115081057750349373184ad7df8894e61 /source3/intl
parent652f0e601da0d1d2e2c8b9281bbee9fa399d9877 (diff)
downloadsamba-1b99d8fbb591bedb375c1251d5d29a5674e1b74a.tar.gz
Use common util_file code.
Diffstat (limited to 'source3/intl')
-rw-r--r--source3/intl/lang_tdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/intl/lang_tdb.c b/source3/intl/lang_tdb.c
index 499b9eb87da..ac7e9dda404 100644
--- a/source3/intl/lang_tdb.c
+++ b/source3/intl/lang_tdb.c
@@ -33,14 +33,14 @@ static bool load_msg(const char *msg_file)
char *msgid, *msgstr;
TDB_DATA data;
- lines = file_lines_load(msg_file, &num_lines,0);
+ lines = file_lines_load(msg_file, &num_lines, 0, NULL);
if (!lines) {
return False;
}
if (tdb_lockall(tdb) != 0) {
- file_lines_free(lines);
+ TALLOC_FREE(lines);
return False;
}
@@ -68,7 +68,7 @@ static bool load_msg(const char *msg_file)
}
}
- file_lines_free(lines);
+ TALLOC_FREE(lines);
tdb_unlockall(tdb);
return True;