Nice catch on the double-free.