The attached control demonstrates memory access errors and memory leaks.