From 152a8fe978851aea8dac6ae5cb11f73540746b83 Mon Sep 17 00:00:00 2001 From: erik Date: Fri, 26 Jan 2007 20:18:07 +0000 Subject: Both files in this commit exhibit use after free errors. One of them was introduced in my memory leak fixing (whoops). I was freeing a structure of stock data before one last call to it. So switching the free to after that call fixed it. The kcheckers.cpp fix is one where the game board could be deleted and then a new one is not created because someone attempted to request a game board type that is not supported. This is fixed by using the default directive for one of the game board types in the switch statement. Which means it could default to Russian boards. Score one for the Russians! --- (limited to 'rsync/stats.c') -- cgit v0.9.0.2