Merge branch 'patch-2' into 'master'

Fix potential Null pointer dereference

See merge request GNOME/glib!60
This commit is contained in:
Xavier Claessens
2018-06-05 14:38:44 +00:00

View File

@@ -1247,8 +1247,8 @@ handle_remove_match (_GFreedesktopDBus *object,
else
_g_freedesktop_dbus_complete_remove_match (object, invocation);
}
match_free (match);
if (match)
match_free (match);
return TRUE;
}