Author: oxygene Date: 2009-11-21 15:53:59 +0100 (Sat, 21 Nov 2009) New Revision: 63
Modified: trunk/SerialICE/util/romcc.c Log: Only avoid freeing block on win32 for now (use-after-free issue that leads to crash)
Modified: trunk/SerialICE/util/romcc.c =================================================================== --- trunk/SerialICE/util/romcc.c 2009-11-21 12:22:18 UTC (rev 62) +++ trunk/SerialICE/util/romcc.c 2009-11-21 14:53:59 UTC (rev 63) @@ -15141,7 +15141,9 @@ } } memset(block, -1, sizeof(*block)); +#ifndef WIN32 xfree(block); +#endif }
static void free_basic_blocks(struct compile_state *state,