diff options
Diffstat (limited to 'src/fltk-widgets-groups-input_choices.adb')
-rw-r--r-- | src/fltk-widgets-groups-input_choices.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fltk-widgets-groups-input_choices.adb b/src/fltk-widgets-groups-input_choices.adb index 7fc6870..6f36a31 100644 --- a/src/fltk-widgets-groups-input_choices.adb +++ b/src/fltk-widgets-groups-input_choices.adb @@ -182,6 +182,7 @@ package body FLTK.Widgets.Groups.Input_Choices is Extra_Final (This); if This.Void_Ptr /= Null_Pointer and This.Needs_Dealloc then free_fl_input_choice (This.Void_Ptr); + This.Void_Ptr := Null_Pointer; end if; end Finalize; |