summaryrefslogtreecommitdiff
path: root/source4/intl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-25 06:13:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:20 -0500
commitc4a2128db5fd36f4e616df74de8bddd9285d2728 (patch)
tree3a8ec913f554f4800e492b22ae708f3f62d157c6 /source4/intl
parent3d065b198e0ea03b8b4131de0eb9a62e502ac67a (diff)
downloadsamba-c4a2128db5fd36f4e616df74de8bddd9285d2728.tar.gz
samba-c4a2128db5fd36f4e616df74de8bddd9285d2728.tar.bz2
samba-c4a2128db5fd36f4e616df74de8bddd9285d2728.zip
r2048: fix memory leak found by abartlet
metze (This used to be commit 0cab7a32f82fa10fea92bb86a1ffd5017f85e887)
Diffstat (limited to 'source4/intl')
-rw-r--r--source4/intl/lang_tdb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/intl/lang_tdb.c b/source4/intl/lang_tdb.c
index 42f4d3a6dc..64f020f26a 100644
--- a/source4/intl/lang_tdb.c
+++ b/source4/intl/lang_tdb.c
@@ -196,7 +196,6 @@ char *lang_msg(const char *msgid)
/* free up a string from lang_msg() */
void lang_msg_free(char *msgstr)
{
- if (!tdb) return;
free(msgstr);
}