Sorry, re-reading the docs, that seems like the right thing. It returns a copy, so g_free-ing it should not be a problem. This means the if not g_path_is_absolute(name) can be left out. (Actually, it would cause a new memory leak if the function arguments where different :) )
Sorry, re-reading the docs, that seems like the right thing. It returns a copy, so g_free-ing it should not be a problem. This means the if not g_path_ is_absolute( name) can be left out. (Actually, it would cause a new memory leak if the function arguments where different :) )
Hope the bug gets fixed anyway.