From 740522875105ff52d53065cb35720426532fb174 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 11 Mar 2006 23:58:18 +0000 Subject: r14225: Fix Coverity Bug # 67 --- source/intl/lang_tdb.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/intl') diff --git a/source/intl/lang_tdb.c b/source/intl/lang_tdb.c index d20a15d90e2..016f64af52a 100644 --- a/source/intl/lang_tdb.c +++ b/source/intl/lang_tdb.c @@ -40,7 +40,10 @@ static BOOL load_msg(const char *msg_file) return False; } - if (tdb_lockall(tdb) != 0) return False; + if (tdb_lockall(tdb) != 0) { + file_lines_free(lines); + return False; + } /* wipe the db */ tdb_traverse(tdb, tdb_traverse_delete_fn, NULL); -- cgit v1.2.1