Fix some memleaks from dt_conf_get_string()

That function returns a copy of the string that has to be g_free()'ed!