summaryrefslogtreecommitdiff
path: root/src/fltk-help_dialogs.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/fltk-help_dialogs.adb')
-rw-r--r--src/fltk-help_dialogs.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fltk-help_dialogs.adb b/src/fltk-help_dialogs.adb
index fa84f01..323fcab 100644
--- a/src/fltk-help_dialogs.adb
+++ b/src/fltk-help_dialogs.adb
@@ -151,6 +151,7 @@ package body FLTK.Help_Dialogs is
begin
if This.Void_Ptr /= Null_Pointer and This.Needs_Dealloc then
free_fl_help_dialog (This.Void_Ptr);
+ This.Void_Ptr := Null_Pointer;
end if;
end Finalize;