Fixed a memory leak in game_position_db.c detected by valgrind.