summaryrefslogtreecommitdiff
path: root/ui/qt/lbm_stream_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/lbm_stream_dialog.cpp')
-rw-r--r--ui/qt/lbm_stream_dialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/lbm_stream_dialog.cpp b/ui/qt/lbm_stream_dialog.cpp
index 000527a679..1aa90d8b90 100644
--- a/ui/qt/lbm_stream_dialog.cpp
+++ b/ui/qt/lbm_stream_dialog.cpp
@@ -372,7 +372,7 @@ void LBMStreamDialog::setCaptureFile(capture_file * cfile)
void LBMStreamDialog::fillTree(void)
{
- GString * error_string;
+ gchar * error_string;
if (m_capture_file == NULL)
{
@@ -390,8 +390,8 @@ void LBMStreamDialog::fillTree(void)
if (error_string)
{
QMessageBox::critical(this, tr("LBM Stream failed to attach to tap"),
- error_string->str);
- g_string_free(error_string, TRUE);
+ error_string);
+ wmem_free(NULL, error_string);
reject();
}