Making the above linux_2_6_0 function g_free(filename) in all possible exit paths after its allocated does indeed fix the memory leak in the Gnome system monitor applet I'm seeing.
Making the above linux_2_6_0 function g_free(filename) in all possible exit paths after its allocated does indeed fix the memory leak in the Gnome system monitor applet I'm seeing.