summaryrefslogtreecommitdiff
path: root/src/Fl_Native_File_Chooser_Kdialog.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-01-31 13:13:48 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-01-31 13:13:48 +0100
commit9bf2726bce637d151bae133c072ac83e5f2ab514 (patch)
treef8a44f969234c9cfe01d5769437724b9332db3aa /src/Fl_Native_File_Chooser_Kdialog.cxx
parent1045538ed0b1b966f03d4808ff4c907c29e543a3 (diff)
Fix "Native Filechooser (Zenity) crashes on second invocation" (#665)
Diffstat (limited to 'src/Fl_Native_File_Chooser_Kdialog.cxx')
-rw-r--r--src/Fl_Native_File_Chooser_Kdialog.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Fl_Native_File_Chooser_Kdialog.cxx b/src/Fl_Native_File_Chooser_Kdialog.cxx
index b2c100879..db17d15ed 100644
--- a/src/Fl_Native_File_Chooser_Kdialog.cxx
+++ b/src/Fl_Native_File_Chooser_Kdialog.cxx
@@ -170,7 +170,6 @@ int Fl_Kdialog_Native_File_Chooser_Driver::show() {
}
}
delete[] command;
- if (_title) { free(_title); _title = NULL; }
if (!pipe) return -1;
return (data.all_files == NULL ? 1 : 0);
}