Fix memleak
Prepare for 1.1.0