summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-10-30 21:31:32 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-10-30 21:31:32 +0100
commitea2c78254d2c487d838b23e90dd3672dfd6939fc (patch)
tree45bc2ab0f7150eadf98b516dc92e36160ebbf4ff
parent676ba063252eb60049e772df52a6fd687e89461b (diff)
fix segfault in Fl_Search_Chooser
-rw-r--r--src/Fl_Search_Chooser.H1
-rw-r--r--src/Fl_Search_Chooser.cxx5
2 files changed, 0 insertions, 6 deletions
diff --git a/src/Fl_Search_Chooser.H b/src/Fl_Search_Chooser.H
index d3478c2..821ffdd 100644
--- a/src/Fl_Search_Chooser.H
+++ b/src/Fl_Search_Chooser.H
@@ -28,7 +28,6 @@ class Fl_Search_Chooser {
Fl_Search_Browser *sb;
Fl_Search_Chooser(const char *title);
- ~Fl_Search_Chooser();
void add(const char *t, void *d);
void *data();
diff --git a/src/Fl_Search_Chooser.cxx b/src/Fl_Search_Chooser.cxx
index 28396a0..d9bc92c 100644
--- a/src/Fl_Search_Chooser.cxx
+++ b/src/Fl_Search_Chooser.cxx
@@ -83,11 +83,6 @@ Fl_Search_Chooser::Fl_Search_Chooser(const char *title) {
w->end();
}
-Fl_Search_Chooser::~Fl_Search_Chooser() {
- delete sb;
- delete w;
-}
-
void
Fl_Search_Chooser::add(const char *t, void *d) {
sb->add(t, d);