Commit 4ade0941 authored by Gaurav's avatar Gaurav

Fix potential Null pointer dereference.

if "match" is NULL, it is dereferenced in match_free() (L:457)
parent 1e906054
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment