diff options
Diffstat (limited to 'src/fltk-widgets-valuators-sliders-scrollbars.adb')
-rw-r--r-- | src/fltk-widgets-valuators-sliders-scrollbars.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fltk-widgets-valuators-sliders-scrollbars.adb b/src/fltk-widgets-valuators-sliders-scrollbars.adb index e950e93..2afca08 100644 --- a/src/fltk-widgets-valuators-sliders-scrollbars.adb +++ b/src/fltk-widgets-valuators-sliders-scrollbars.adb @@ -101,6 +101,7 @@ package body FLTK.Widgets.Valuators.Sliders.Scrollbars is Extra_Final (This); if This.Void_Ptr /= Null_Pointer and This.Needs_Dealloc then free_fl_scrollbar (This.Void_Ptr); + This.Void_Ptr := Null_Pointer; end if; end Finalize; |