new voting system memory leak fix.