Hi, Michael <mike@xxxxxxxxxxx> writes: > I was just looking at the above text and suddenly realised that the > path had turned to garbage in the third g_print line which I had put > into base.c like this:- [snip] > g_free (path); > > paint_funcs_setup (); > > g_print ("swapfile is still: %s\n", path); you are freeing path before you print it. No wonder it turns into garbage. Salut, Sven