mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
backend: Fix a couple of minor GError leaks
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2811>
This commit is contained in:
parent
81cc05e61e
commit
c95a24f6e8
@ -208,7 +208,7 @@ on_bus_acquired (GDBusConnection *connection,
|
||||
MetaRemoteDesktop *remote_desktop = user_data;
|
||||
GDBusInterfaceSkeleton *interface_skeleton =
|
||||
G_DBUS_INTERFACE_SKELETON (remote_desktop);
|
||||
GError *error = NULL;
|
||||
g_autoptr (GError) error = NULL;
|
||||
|
||||
if (!g_dbus_interface_skeleton_export (interface_skeleton,
|
||||
connection,
|
||||
|
@ -274,7 +274,7 @@ on_bus_acquired (GDBusConnection *connection,
|
||||
MetaScreenCast *screen_cast = user_data;
|
||||
GDBusInterfaceSkeleton *interface_skeleton =
|
||||
G_DBUS_INTERFACE_SKELETON (screen_cast);
|
||||
GError *error = NULL;
|
||||
g_autoptr (GError) error = NULL;
|
||||
|
||||
if (!g_dbus_interface_skeleton_export (interface_skeleton,
|
||||
connection,
|
||||
|
Loading…
Reference in New Issue
Block a user