Merge pull request #1 from vladubogdan/develop

Develop
fixed a memory release issue.