mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-04 07:41:58 +00:00
SAGA2: Fix mouseimg alloc-dealloc problem
This commit is contained in:
parent
9642a17a0b
commit
943df6181e
@ -193,10 +193,10 @@ void createStackedImage(
|
||||
// Dispose of an image created with createStackedImage
|
||||
|
||||
inline void disposeStackedImage(gPixelMap *image) {
|
||||
assert(image->data != NULL);
|
||||
assert(image->data != nullptr);
|
||||
|
||||
delete [] image->data;
|
||||
image->data = NULL;
|
||||
free(image->data);
|
||||
image->data = nullptr;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user