diff --git a/glib/gutils.c b/glib/gutils.c index 38b5e44a3..49862ac10 100644 --- a/glib/gutils.c +++ b/glib/gutils.c @@ -696,7 +696,7 @@ g_get_any_init_do (void) if (g_tmp_dir == NULL || *g_tmp_dir == '\0') { g_free (g_tmp_dir); - g_tmp_dir = g_strdup (g_getenv ("/tmp")); + g_tmp_dir = g_strdup ("/tmp"); } #endif /* !G_OS_WIN32 */