diff options
Diffstat (limited to 'gettextfromc.cpp')
-rw-r--r-- | gettextfromc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gettextfromc.cpp b/gettextfromc.cpp index 4976d70f8..fe6263a4b 100644 --- a/gettextfromc.cpp +++ b/gettextfromc.cpp @@ -4,7 +4,7 @@ char *gettextFromC::gettext(const char *text) { - return tr(text).toLocal8Bit().data(); + return strdup(tr(text).toLocal8Bit().data()); } gettextFromC* gettextFromC::instance() |