Fix memory leak in wesnothd
Merge pull request #225 from AI0867/wesnothd_memory_leak2

Fix memory leak in wesnothd