aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/help.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/help.h')
-rw-r--r--src/help.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/help.h b/src/help.h
index 92115ab..55fb2ee 100644
--- a/src/help.h
+++ b/src/help.h
@@ -47,6 +47,14 @@ public:
}
};
+ ~HelpIndex()
+ {
+ Topic *cur;
+
+ while ((cur = (Topic *)min()))
+ delete (Topic *)remove(cur);
+ }
+
void load(void);
Topic *find(const gchar *name);