X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fevaluate.cpp;h=36a9b10a2f653c0361a351e4e51e25cd8cf8ead5;hb=5c81602d14539f8259a715477315e28b5de7cb54;hp=c29fd5e651a46bd5a46af414b256f2923f6a029d;hpb=ef8acdc73b7818e97617ba666398be1f9045998e;p=stockfish diff --git a/src/evaluate.cpp b/src/evaluate.cpp index c29fd5e6..36a9b10a 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -1,7 +1,7 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) - Copyright (C) 2008 Marco Costalba + Copyright (C) 2008-2009 Marco Costalba Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -505,6 +505,8 @@ void quit_eval() { { delete PawnTable[i]; delete MaterialTable[i]; + PawnTable[i] = NULL; + MaterialTable[i] = NULL; } }