Argh I should have properly reviewed !392 (commit c264f0b7). It was leaking the return value of a g_path_get_basename().