plug a small leak.
2006-05-15 Paolo Borelli <pborelli@katamail.com> * src/prefs.c (update_binding): plug a small leak.
This commit is contained in:
parent
ff87e70e8d
commit
fb3b5c92f8
@ -1,3 +1,7 @@
|
||||
2006-05-15 Paolo Borelli <pborelli@katamail.com>
|
||||
|
||||
* src/prefs.c (update_binding): plug a small leak.
|
||||
|
||||
2006-05-12 Elijah Newren <newren gmail com>
|
||||
|
||||
* configure.in: I don't think we want a config file for the
|
||||
|
@ -2201,10 +2201,9 @@ update_binding (MetaKeyPref *binding,
|
||||
binding->name,
|
||||
value);
|
||||
|
||||
old_setting = meta_ui_accelerator_name(
|
||||
combo->keysym,
|
||||
combo->modifiers);
|
||||
|
||||
old_setting = meta_ui_accelerator_name (combo->keysym,
|
||||
combo->modifiers);
|
||||
|
||||
if (!strcmp(old_setting, value))
|
||||
{
|
||||
/* We were about to set it to the same value
|
||||
@ -2213,6 +2212,7 @@ update_binding (MetaKeyPref *binding,
|
||||
* meta_ui_accelerator_name. Bail out now
|
||||
* so we don't get into an infinite loop.
|
||||
*/
|
||||
g_free (old_setting);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user