Blob Blame History Raw
diff -up evolution-data-server-1.12.3/servers/exchange/lib/e2k-context.c.e2k-context-fba evolution-data-server-1.12.3/servers/exchange/lib/e2k-context.c
--- evolution-data-server-1.12.3/servers/exchange/lib/e2k-context.c.e2k-context-fba	2008-02-20 10:35:06.000000000 -0500
+++ evolution-data-server-1.12.3/servers/exchange/lib/e2k-context.c	2008-02-20 10:35:52.000000000 -0500
@@ -647,6 +647,9 @@ e2k_context_fba (E2kContext *ctx, SoupMe
 					      "application/x-www-form-urlencoded",
 					      SOUP_BUFFER_SYSTEM_OWNED,
 					      form_body->str, form_body->len);
+	if (!post_msg)
+		goto failed;
+
 	soup_message_set_flags (post_msg, SOUP_MESSAGE_NO_REDIRECT);
 	e2k_context_send_message (ctx, NULL /* FIXME? */, post_msg);
 	g_string_free (form_body, FALSE);