Comment 22 for bug 191512

Revision history for this message
Philip Walls (ubuntu-rabidgeek) wrote :

Actually, right off the bat.. g_strconcat() allocates heap memory and returns a pointer to the string. Probably necessary to do something like homedir = gstrconcat(g_get_home_dir(), G_DIR_SEPARATOR, NULL) and then free(homedir) when done. Also missing NULL termination in the second __SNIP__ and should have been g_get_home_dir() instead of g_get_home_dir.

-P