Commit 362d39a5 authored by Milan Crha's avatar Milan Crha
Browse files

Avoid NULL dereference in mail-send-recv.c:free_send_data() function

This had been reported downstream as:
https://bugzilla.redhat.com/show_bug.cgi?id=1338561
parent 7da7f477
...@@ -200,6 +200,9 @@ free_send_data (void) ...@@ -200,6 +200,9 @@ free_send_data (void)
{ {
struct _send_data *data = send_data; struct _send_data *data = send_data;
if (!data)
return;
g_return_if_fail (g_hash_table_size (data->active) == 0); g_return_if_fail (g_hash_table_size (data->active) == 0);
if (data->inbox) { if (data->inbox) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment