Fix a memory leak, thanks to 'Rafał Sawicki', and now change version to 6.6
Merge branch 'dev'