--- a/hedgewars/hwengine.pas Sun Aug 14 13:45:37 2011 -0400
+++ b/hedgewars/hwengine.pas Sun Aug 14 16:59:55 2011 -0400
@@ -124,6 +124,7 @@
begin
WriteLnToConsole('Freeing resources...');
FreeActionsList();
+ uVisualGears.freeModule;
StoreRelease();
ControllerClose();
CloseIPC();