Merge changes
authorhwmirror
Wed, 15 May 2019 16:25:29 +0000
changeset 14958 364b67d48279
parent 14957 947a4a4d2131 (current diff)
parent 14956 225839af5272 (diff)
child 14960 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)