diff options
Diffstat (limited to 'src/fltk-images-shared.adb')
-rw-r--r-- | src/fltk-images-shared.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fltk-images-shared.adb b/src/fltk-images-shared.adb index fd2663b..d475cc3 100644 --- a/src/fltk-images-shared.adb +++ b/src/fltk-images-shared.adb @@ -140,6 +140,7 @@ package body FLTK.Images.Shared is begin if This.Void_Ptr /= Null_Pointer and This.Needs_Dealloc then fl_shared_image_release (This.Void_Ptr); + This.Void_Ptr := Null_Pointer; end if; end Finalize; |