core: configurations are stored in a list

When freeing the list of configurations, do not unref directly because they are
inside a list. Use g_list_free_full() to do the job.