mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 13:06:14 +01: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:
parent
390549f6c4
commit
d32226da6d
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user