memory leaks

g_settings_get_string returns newly-allocated string
Merge pull request #170 from dnk/memory_leak

memory leaks