hedgewars/uIO.pas
changeset 5592 662ebb46642f
parent 5178 f3cc6119f1fe
child 5810 552371cc69cc
--- 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.