Author: cazfi
Date: Thu Jan 15 18:44:43 2015
New Revision: 27700

URL: http://svn.gna.org/viewcvs/freeciv?rev=27700&view=rev
Log:
Fixed memory leak when checking if unit can pillage.

See bug #23170

Modified:
    trunk/common/extras.c

Modified: trunk/common/extras.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/extras.c?rev=27700&r1=27699&r2=27700&view=diff
==============================================================================
--- trunk/common/extras.c       (original)
+++ trunk/common/extras.c       Thu Jan 15 18:44:43 2015
@@ -457,6 +457,8 @@
          * not been here if conflicting one is. */
         return FALSE;
       }
+
+      tile_virtual_destroy(vtile);
     }
   }
 


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to