diff --git a/src/servers/app/ServerBitmap.cpp b/src/servers/app/ServerBitmap.cpp index 942637ba3b..84af4c6ea1 100644 --- a/src/servers/app/ServerBitmap.cpp +++ b/src/servers/app/ServerBitmap.cpp @@ -107,7 +107,7 @@ ServerBitmap::~ServerBitmap() if (fAllocator != NULL) fAllocator->Free(AllocationCookie()); else - free(fBuffer); + delete[] fBuffer; delete fOverlay; // deleting the overlay will also free the overlay buffer