Bug 1786 - memory leak in WIN_GetDisplayModes by Marcel Bakker