Fixed leaks in instrument destruction. No leaks on my part now.