diff --git a/gio/gdbusdaemon.c b/gio/gdbusdaemon.c index 3516183f9..e6b3c1af0 100644 --- a/gio/gdbusdaemon.c +++ b/gio/gdbusdaemon.c @@ -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; }