Bug 542685 – [default-mailer] Leaking GConfValue
This commit is contained in:
@ -78,10 +78,10 @@ org_gnome_default_mailer_check_default (EPlugin *ep, ESEventTargetUpgrade *targe
|
||||
|
||||
/* See whether the check default mailer key has already been set */
|
||||
is_key = gconf_client_get(client, GCONF_KEY_CHECKDEFAULT, NULL);
|
||||
if(!is_key) {
|
||||
if(!is_key)
|
||||
gconf_client_set_bool(client, GCONF_KEY_CHECKDEFAULT, TRUE, NULL);
|
||||
else
|
||||
gconf_value_free (is_key);
|
||||
}
|
||||
|
||||
/* Check whether we're supposed to check whether or not we are the default mailer */
|
||||
if(gconf_client_get_bool(client, GCONF_KEY_CHECKDEFAULT, NULL)) {
|
||||
|
||||
Reference in New Issue
Block a user