fixed key list leak
Merge pull request #1 from lucindo/master

fixed key list leak