Frees a ScreenBuffer allocated by AllocScreenBuffer() and releases associated resources. You have to call this before closing your screen.
INPUTS
screen
The screen this screenbuffer belongs to
screenbuffer
The screenbuffer obtained by AllocScreenBuffer() It is safe to pass NULL.
RESULT
None.
EXAMPLE
SEE ALSO
AllocScreenBuffer(), ChangeScreenBuffer()
NOTES
When used SB_SCREEN_BITMAP on allocating the ScreenBuffer (ie. the ScreenBuffer only refers to the screen's BitMap) you must FreeScreenBuffer() the ScreenBuffer before closing the screen. Intuition will recognize when FreeScreenBuffer() is called for the currently installed ScreenBuffer that it must not free the BitMap. This is left to the CloseScreen() function.