Removed a resource leak (just to have 0 warnings of project)