This email list is read-only. Emails sent to this list will be discarded ---------------------------------- gdbus/object.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
New commits: commit c6bc71abc37951b523e8f5917737bee6f5ca1f9c Author: Marcel Holtmann <[email protected]> Date: Wed Dec 24 07:16:37 2008 +0100 Check if path is valid before unregistering it Diff in this email is a maximum of 400 lines. diff --git a/gdbus/object.c b/gdbus/object.c index 432a8a0..a41617d 100644 --- a/gdbus/object.c +++ b/gdbus/object.c @@ -494,6 +494,9 @@ gboolean g_dbus_unregister_interface(DBusConnection *connection, struct generic_data *data = NULL; struct interface_data *iface; + if (!path) + return FALSE; + if (dbus_connection_get_object_path_data(connection, path, (void *) &data) == FALSE) return FALSE; _______________________________________________ Commits mailing list [email protected] https://lists.moblin.org/mailman/listinfo/commits
