mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-10 19:24:04 +02:00
Ref the right type in g_socket_control_message_deserialize
We were not looking at the right type at all due to a typo.
This commit is contained in:
@@ -195,7 +195,7 @@ g_socket_control_message_deserialize (int level,
|
||||
message = NULL;
|
||||
for (i = 0; i < n_message_types; i++)
|
||||
{
|
||||
klass = (GSocketControlMessageClass *)g_type_class_ref (type);
|
||||
klass = (GSocketControlMessageClass *)g_type_class_ref (message_types[i]);
|
||||
|
||||
if (klass && klass->deserialize)
|
||||
{
|
||||
|
Reference in New Issue
Block a user