From: Alexander Butenko Date: Mon, 22 Feb 2010 18:02:32 +0000 (+0100) Subject: Dupe OS type for ident string before using it X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=458c5109bec859f762de6dfb0c49b693f360c4de;p=midori Dupe OS type for ident string before using it --- 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"; }