mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
message_to_write_data_free: Don't unref data->message if it is NULL
After the recent changes to message filtering, it can happen that data->message is NULL when we get here.
This commit is contained in:
parent
faaa8a9f8a
commit
fe1186a842
@ -876,7 +876,8 @@ static void
|
||||
message_to_write_data_free (MessageToWriteData *data)
|
||||
{
|
||||
_g_dbus_worker_unref (data->worker);
|
||||
g_object_unref (data->message);
|
||||
if (data->message)
|
||||
g_object_unref (data->message);
|
||||
g_free (data->blob);
|
||||
g_free (data);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user