fixed memory leaks in ezexample
Merge pull request #92 from hal3/master

fixed final (?) bug in ezexample