From 458c5109bec859f762de6dfb0c49b693f360c4de Mon Sep 17 00:00:00 2001 From: Alexander Butenko Date: Mon, 22 Feb 2010 19:02:32 +0100 Subject: [PATCH] Dupe OS type for ident string before using it --- midori/midori-websettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/midori-websettings.c b/midori/midori-websettings.c index 8b133cc2..d07baa01 100644 --- a/midori/midori-websettings.c +++ b/midori/midori-websettings.c @@ -1188,7 +1188,7 @@ get_sys_name (void) { struct utsname name; if (uname (&name) != -1) - sys_name = name.sysname; + sys_name = g_strdup(name.sysname); else sys_name = "Unix"; } -- 2.39.5