summaryrefslogtreecommitdiff
path: root/source3/intl
diff options
context:
space:
mode:
Diffstat (limited to 'source3/intl')
-rw-r--r--source3/intl/lang_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/intl/lang_tdb.c b/source3/intl/lang_tdb.c
index 8fcb9f2bfc..15793b7828 100644
--- a/source3/intl/lang_tdb.c
+++ b/source3/intl/lang_tdb.c
@@ -236,7 +236,7 @@ const char *lang_msg(const char *msgid)
void lang_msg_free(const char *msgstr)
{
if (!tdb) return;
- free((void *)msgstr);
+ free(discard_const_p(void, msgstr));
}
/*