Fixed a memory leak in FreeImage_Load()