aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-druid.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-01-29 08:46:18 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-29 08:46:18 +0800
commit6fd48a6f476245f52b0653cb1b9f0f298798c07a (patch)
tree84243268ec1379ef0ee7c2a34b629c9023f9e66c /mail/mail-config-druid.c
parent8e1a4026c9c7a37e8c8fa17af647fb99ebaa1f33 (diff)
downloadgsoc2013-evolution-6fd48a6f476245f52b0653cb1b9f0f298798c07a.tar
gsoc2013-evolution-6fd48a6f476245f52b0653cb1b9f0f298798c07a.tar.gz
gsoc2013-evolution-6fd48a6f476245f52b0653cb1b9f0f298798c07a.tar.bz2
gsoc2013-evolution-6fd48a6f476245f52b0653cb1b9f0f298798c07a.tar.lz
gsoc2013-evolution-6fd48a6f476245f52b0653cb1b9f0f298798c07a.tar.xz
gsoc2013-evolution-6fd48a6f476245f52b0653cb1b9f0f298798c07a.tar.zst
gsoc2013-evolution-6fd48a6f476245f52b0653cb1b9f0f298798c07a.zip
Turns out that I was wrong about the g_get_real_name mem leak, god damn
2001-01-28 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (set_defaults): Turns out that I was wrong about the g_get_real_name mem leak, god damn glib for not following the const char* standard. svn path=/trunk/; revision=7882
Diffstat (limited to 'mail/mail-config-druid.c')
-rw-r--r--mail/mail-config-druid.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c
index 908eb01498..fdb2ddb448 100644
--- a/mail/mail-config-druid.c
+++ b/mail/mail-config-druid.c
@@ -783,10 +783,8 @@ set_defaults (MailConfigDruid *druid)
/* set the default Name field */
realname = g_get_real_name ();
- if (realname) {
+ if (realname)
e_utf8_gtk_entry_set_text (druid->full_name, realname);
- g_free (realname);
- }
/* set the default E-Mail Address field */
user = getenv ("USER");