fixed memory leak in ImageViewer
Merge branch 'master' of H:/pcl
Fixed bug #964 thanks to Marc Gronle patch