Final. Checked with DrMemory, no memory leaks.