diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-09-21 02:36:42 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-09-21 02:36:42 +0800 |
commit | f27acdc8a1a12c104971c4690ed589a6468f76c4 (patch) | |
tree | 93821d21825384f685645d6d0faa7afe29d52ddd /mail/mail-callbacks.c | |
parent | d85e32047648846654fc03d9a8a0f8f9040e5199 (diff) | |
download | gsoc2013-evolution-f27acdc8a1a12c104971c4690ed589a6468f76c4.tar.gz gsoc2013-evolution-f27acdc8a1a12c104971c4690ed589a6468f76c4.tar.zst gsoc2013-evolution-f27acdc8a1a12c104971c4690ed589a6468f76c4.zip |
don't free memory that we don't own.
svn path=/trunk/; revision=13011
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 7efd2523b1..e7cf846fa9 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -217,11 +217,11 @@ ask_confirm_for_unwanted_html_mail (EMsgComposer *composer, EDestination **recip "do not want HTML-formatted mail:\n")); for (i = 0; recipients[i] != NULL; ++i) { if (!e_destination_get_html_mail_pref (recipients[i])) { - char *buf, *name; + const char *name; + char *buf; name = e_destination_get_textrep (recipients[i]); buf = e_utf8_to_locale_string (name); - g_free (name); g_string_sprintfa (str, " %s\n", buf); g_free (buf); |