Identify memory leaks that occur on error conditions