I'm trying to track down a small overwrite. One of the potential culprits is of the glib "Miscellaneous Utility Functions", g_get_home_dir. According to the API, it returns a const gchar*. This means the pointer can be neither pre-allocated nor freed.
So I had been presuming that this is just a pointer to some data maintained by glib, but I have been running out of possible sources for my problem, and I thought I'd run this by cboard.Code:const gchar *homedir=g_get_home_dir();
Am I barking up the wrong tree?