free package:sdl2

Free a cursor created with createCursor, createColorCusor and createSystemCursor. See SDL_FreeCursor for C documentation.
Free an RGB surface. If the surface was created using createRGBSurfaceFrom then the pixel data is not freed. See SDL_FreeSurface for the C documentation.