aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/lbm_lbtru_transport_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/lbm_lbtru_transport_dialog.cpp')
-rw-r--r--ui/qt/lbm_lbtru_transport_dialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/lbm_lbtru_transport_dialog.cpp b/ui/qt/lbm_lbtru_transport_dialog.cpp
index 65982b2d73..a787b12808 100644
--- a/ui/qt/lbm_lbtru_transport_dialog.cpp
+++ b/ui/qt/lbm_lbtru_transport_dialog.cpp
@@ -1715,7 +1715,7 @@ void LBMLBTRUTransportDialog::resetReceiversDetail(void)
void LBMLBTRUTransportDialog::fillTree(void)
{
- gchar * error_string;
+ GString * error_string;
if (m_capture_file == NULL)
{
@@ -1733,8 +1733,8 @@ void LBMLBTRUTransportDialog::fillTree(void)
if (error_string)
{
QMessageBox::critical(this, tr("LBT-RU Statistics failed to attach to tap"),
- error_string);
- wmem_free(NULL, error_string);
+ error_string->str);
+ g_string_free(error_string, TRUE);
reject();
}