Fix mem leak discovered during previous commit

This commit is contained in:
Ben Payne 2015-01-23 16:10:20 -05:00
parent fcf52fb5e0
commit ae94fc4e46

View file

@ -160,6 +160,10 @@ void Win32CursorController::setCursorShape( const UTF8 *fileName, bool reload )
if ( gCursorShape )
SetCursor( gCursorShape );
#ifdef UNICODE
delete[] lFileName;
#endif
}
// Console function to set the current cursor shape given the cursor shape