Merge changes
authorhwmirror
Wed, 15 May 2019 16:25:29 +0000
changeset 14979 364b67d48279
parent 14978 947a4a4d2131 (current diff)
parent 14977 225839af5272 (diff)
child 14981 372b25c6bdee
Merge changes
--- a/hedgewars/uGears.pas	Wed May 15 17:30:10 2019 +0200
+++ b/hedgewars/uGears.pas	Wed May 15 16:25:29 2019 +0000
@@ -729,6 +729,7 @@
     GearsList:= nil;
     while tt <> nil do
     begin
+        FreeAndNilTexture(tt^.Tex);
         t:= tt;
         tt:= tt^.NextGear;
         Dispose(t)