]> Dogcows Code - chaz/openbox/blobdiff - openbox/openbox.c
continue commit 2b80e4e8ef56bb4fba614139601e750344418e5b - remove debug code, and...
[chaz/openbox] / openbox / openbox.c
index 6f47fbd0cc5ba6f4d6f9cd202950ae2d50c60c33..ff226af4dcf30a72b815e08170d8247f59b3a0c0 100644 (file)
@@ -512,7 +512,9 @@ static void remove_args(gint *argc, gchar **argv, gint index, gint num)
 static void parse_env()
 {
     /* unset this so we don't pass it on unknowingly */
-    putenv("DESKTOP_STARTUP_ID");
+    gchar *s = g_strdup("DESKTOP_STARTUP_ID");
+    putenv(s);
+    g_free(s);
 }
 
 static void parse_args(gint *argc, gchar **argv)
This page took 0.020369 seconds and 4 git commands to generate.