Skip to content

Commit

Permalink
modules/ncenter: free xml node info after use
Browse files Browse the repository at this point in the history
  • Loading branch information
LBCrion committed Aug 2, 2024
1 parent 0a4c8f0 commit e2c5b19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/ncenter.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ static void dn_bus_acquired_cb (GDBusConnection *con, const gchar *name,
node = g_dbus_node_info_new_for_xml(dn_iface_xml, NULL);
g_dbus_connection_register_object (con, dn_path, node->interfaces[0],
&dn_iface_vtable, NULL, NULL, NULL);
g_dbus_node_info_unref(node);
}

static void dn_name_acquired_cb (GDBusConnection *con, const gchar *name,
Expand Down

0 comments on commit e2c5b19

Please sign in to comment.