cleaned up some memory leaks in my example code