Fix free buffer under WindowsXP.