use g_strdup to allocate a string, not strdup. Fixes #363354.

* src/ui.c: use g_strdup to allocate a string, not strdup. Fixes
        #363354.
This commit is contained in:
Thomas James Alexander Thurman 2006-11-05 22:32:01 +00:00
parent c68c26b7f8
commit 8f09a12069
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-11-05 Kjartan Maraas <kmaraas@gnome.org>
* src/ui.c: use g_strdup to allocate a string, not strdup. Fixes
#363354.
2006-11-05 Justin Mason <jm@jmason.org>
* src/keybindings.c: implement handle_move_to_{side|corner}_* to

View File

@ -825,7 +825,7 @@ meta_ui_accelerator_name (unsigned int keysym,
if (keysym == 0 && mask == 0)
{
return strdup ("disabled");
return g_strdup ("disabled");
}
if (mask & META_VIRTUAL_SHIFT_MASK)