summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-groups-help_views.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/fltk-widgets-groups-help_views.adb')
-rw-r--r--src/fltk-widgets-groups-help_views.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fltk-widgets-groups-help_views.adb b/src/fltk-widgets-groups-help_views.adb
index b1ac905..0250b15 100644
--- a/src/fltk-widgets-groups-help_views.adb
+++ b/src/fltk-widgets-groups-help_views.adb
@@ -273,6 +273,7 @@ package body FLTK.Widgets.Groups.Help_Views is
if This.Void_Ptr /= Null_Pointer and then
This in Help_View'Class
then
+ This.Clear;
free_fl_help_view (This.Void_Ptr);
Interfaces.C.Strings.Free (This.Hilda);
This.Void_Ptr := Null_Pointer;