mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 03:02:10 +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. (cherry picked from commit fe1186a842458dcc647c5f9ab03f17c762354e95)
This commit is contained in:
parent
ad5c271d1e
commit
2a9b14c015
@ -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…
x
Reference in New Issue
Block a user