summaryrefslogtreecommitdiff
path: root/gio/gdbusdaemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'gio/gdbusdaemon.c')
-rw-r--r--gio/gdbusdaemon.c4
1 files changed, 2 insertions, 2 deletions
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;
}