fixed small memory leak in config
Previous fix was broken.
silence warning.
Merge pull request #7 from rgngl/master

Fixed small memory leak