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
commit 68d99c766b

View File

@ -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;
} }