--- a/hedgewars/uIO.pas Wed Aug 17 11:17:50 2011 -0400 +++ b/hedgewars/uIO.pas Wed Aug 17 21:26:34 2011 +0400 @@ -433,6 +433,7 @@ procedure freeModule; begin +while headcmd <> nil do RemoveCmd end; end.