summaryrefslogtreecommitdiff
path: root/ui/qt/uat_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/uat_dialog.cpp')
-rw-r--r--ui/qt/uat_dialog.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/qt/uat_dialog.cpp b/ui/qt/uat_dialog.cpp
index bd6d9b768f..9a1128ae32 100644
--- a/ui/qt/uat_dialog.cpp
+++ b/ui/qt/uat_dialog.cpp
@@ -173,7 +173,12 @@ QString UatDialog::fieldString(guint row, guint column)
string_rep = str;
break;
case PT_TXTMOD_HEXBYTES: {
- string_rep = bytes_to_ep_str((const guint8 *) str, length);
+ {
+ char* temp_str = bytes_to_str(NULL, (const guint8 *) str, length);
+ QString qstr(temp_str);
+ string_rep = qstr;
+ wmem_free(NULL, temp_str);
+ }
break;
}
default: