aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/default-mailer
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-02-27 17:22:15 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-02-27 17:22:15 +0800
commitfe71fc1db26dfedb3809ab894f83893956079e87 (patch)
tree1085fa511009f550a60840873b06e15a73b10b1a /plugins/default-mailer
parent6b93ed2f65445dca1ebcd1dc6d41b701aa3f1595 (diff)
downloadgsoc2013-evolution-fe71fc1db26dfedb3809ab894f83893956079e87.tar.gz
gsoc2013-evolution-fe71fc1db26dfedb3809ab894f83893956079e87.tar.zst
gsoc2013-evolution-fe71fc1db26dfedb3809ab894f83893956079e87.zip
Commited fix for crash during startup.
svn path=/trunk/; revision=31591
Diffstat (limited to 'plugins/default-mailer')
-rw-r--r--plugins/default-mailer/ChangeLog5
-rw-r--r--plugins/default-mailer/default-mailer.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/plugins/default-mailer/ChangeLog b/plugins/default-mailer/ChangeLog
index c4258a1f22..1620c006e1 100644
--- a/plugins/default-mailer/ChangeLog
+++ b/plugins/default-mailer/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-27 Srinivasa Ragavan <sragavan@novell.com>
+
+ * default-mailer.c (org_gnome_default_mailer_check_default): Used
+ gconf_value_free to free a GConfValue instead of a g_free.
+
2005-12-12 Harish Krishnaswamy <kharish@novell.com>
* Makefile.am: Fix make-clean issues.
diff --git a/plugins/default-mailer/default-mailer.c b/plugins/default-mailer/default-mailer.c
index 83f71ed2df..d8d9c1b445 100644
--- a/plugins/default-mailer/default-mailer.c
+++ b/plugins/default-mailer/default-mailer.c
@@ -47,7 +47,7 @@ org_gnome_default_mailer_check_default (EPlugin *ep, ESEventTargetUpgrade *targe
is_key = gconf_client_get(client, GCONF_KEY_CHECKDEFAULT, NULL);
if(!is_key)
gconf_client_set_bool(client, GCONF_KEY_CHECKDEFAULT, TRUE, NULL);
- g_free(is_key);
+ 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)) {