mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Fix potential Null pointer dereference.
if "match" is NULL, it is dereferenced in match_free() (L:457)
This commit is contained in:
parent
1e9060547d
commit
4ade09416b
@ -1247,8 +1247,8 @@ handle_remove_match (_GFreedesktopDBus *object,
|
|||||||
else
|
else
|
||||||
_g_freedesktop_dbus_complete_remove_match (object, invocation);
|
_g_freedesktop_dbus_complete_remove_match (object, invocation);
|
||||||
}
|
}
|
||||||
|
if (match)
|
||||||
match_free (match);
|
match_free (match);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user