Author: cazfi
Date: Thu Jan 15 18:44:49 2015
New Revision: 27701

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

See bug #23170

Modified:
    branches/S2_6/common/extras.c

Modified: branches/S2_6/common/extras.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/common/extras.c?rev=27701&r1=27700&r2=27701&view=diff
==============================================================================
--- branches/S2_6/common/extras.c       (original)
+++ branches/S2_6/common/extras.c       Thu Jan 15 18:44:49 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