fix small memory leak with curl slist
Merge pull request #106 from pantheon-systems/memleak-master3

fix small memory leak with curl slist