--- a/src/physfs_platform_windows.c Wed Aug 02 13:02:43 2017 -0400 +++ b/src/physfs_platform_windows.c Wed Aug 02 13:06:56 2017 -0400 @@ -749,7 +749,6 @@ { const PHYSFS_ErrorCode err = errcodeFromWinApi(); CloseHandle(h); - allocator.Free(retval); BAIL(err, NULL); } /* if */