Hello! I think that I have spotted a minor memory leak through pointers returned by g_get_current_dir(). The function is used in several places in viking source code, but unfortunately in some cases pointer returned by the function is not freed. One example can be found in vikgeoreflayer.c:290:
if ( <condition> ) { gchar *cwd = g_get_current_dir(); if ( cwd ) { rv.s = file_GetRelativeFilename ( cwd, vgl->image ); if ( !rv.s ) rv.s = ""; set = TRUE; } } } Can you please take a look at usage of the function and confirm that the problem really exists? Best regards, Kamil ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/