add warning about memory leaks reported by cppcheck
change throw in destructor to an assert, to silence cppcheck
Merge branch 'master' of git://github.com/wesnoth/wesnoth