fixed memory leak
Merge branch 'drive-rewrite' of github.com:froj/nastya into drive-rewrite