aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-hdrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r--composer/e-msg-composer-hdrs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index 39d5c81647..aa723d3822 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -805,6 +805,11 @@ e_msg_composer_hdrs_get_reply_to (EMsgComposerHdrs *hdrs)
gtk_object_get (GTK_OBJECT (hdrs->priv->reply_to.entry),
"text", &reply_to, NULL);
+ if (!reply_to || *reply_to == '\0') {
+ g_free (reply_to);
+ return NULL;
+ }
+
addr = camel_internet_address_new ();
if (camel_address_unformat (CAMEL_ADDRESS (addr), reply_to) == -1) {
g_free (reply_to);