Input: gameport - fix memory leak