diff --git a/ChangeLog b/ChangeLog index 356cf16ca..254ce3c0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-11-05 Kjartan Maraas + + * src/ui.c: use g_strdup to allocate a string, not strdup. Fixes + #363354. + 2006-11-05 Justin Mason * src/keybindings.c: implement handle_move_to_{side|corner}_* to diff --git a/src/ui.c b/src/ui.c index dbbe698d9..fc6c76410 100644 --- a/src/ui.c +++ b/src/ui.c @@ -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)