diff options
author | Dan Winship <danw@src.gnome.org> | 2001-04-18 04:29:40 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-04-18 04:29:40 +0800 |
commit | 72b0983f7ab6f61ec1268da9ba2059c5f07d09ad (patch) | |
tree | a3f5ef64281006c54f1d2f7c891c2c218c1ae4fa /mail/mail-mt.c | |
parent | 7f65dfa168a26419396e3a882fd2ba8f7080ac2e (diff) | |
download | gsoc2013-evolution-72b0983f7ab6f61ec1268da9ba2059c5f07d09ad.tar gsoc2013-evolution-72b0983f7ab6f61ec1268da9ba2059c5f07d09ad.tar.gz gsoc2013-evolution-72b0983f7ab6f61ec1268da9ba2059c5f07d09ad.tar.bz2 gsoc2013-evolution-72b0983f7ab6f61ec1268da9ba2059c5f07d09ad.tar.lz gsoc2013-evolution-72b0983f7ab6f61ec1268da9ba2059c5f07d09ad.tar.xz gsoc2013-evolution-72b0983f7ab6f61ec1268da9ba2059c5f07d09ad.tar.zst gsoc2013-evolution-72b0983f7ab6f61ec1268da9ba2059c5f07d09ad.zip |
more memory leaks
svn path=/trunk/; revision=9431
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r-- | mail/mail-mt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c index 9c04ca38ef..a4c924cab6 100644 --- a/mail/mail-mt.c +++ b/mail/mail-mt.c @@ -186,9 +186,10 @@ void mail_msg_check_error(void *msg) if (m->ops->describe_msg) what = m->ops->describe_msg(m, FALSE); - if (what) + if (what) { text = g_strdup_printf(_("Error while '%s':\n%s"), what, camel_exception_get_description(&m->ex)); - else + g_free (what); + } else text = g_strdup_printf(_("Error while performing operation:\n%s"), camel_exception_get_description(&m->ex)); gd = (GnomeDialog *)gnome_error_dialog(text); |