[Olena-patches] last-svn-commit-914-g12481e4 Fix a serious memory leak.