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