for resource cleanup

git-svn-id: http://fritzing.googlecode.com/svn/trunk@6985 85f94c43-f63a-0410-9d22-21439860c375