Memory leaks and improper new/delete pairing.