#43222: gtk: unit_info_box not unreffed Open Date: 2021-11-16 04:25 Last Update: 2021-11-16 04:47 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/43222 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43222 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2021-11-16 04:47 Updated by: cazfi Comment: Same for g_object_ref(ei->widget) in editinfobox_create(), that exist for the same case. --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: (None) Component: (None) Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: There is special g_object_ref(unit_info_box) when unit_info_box is created, to make sure that it won't get accidentally destroyed when refcount temporarily goes to zero. The problem is that there's no related unref even when the widget finally should be destroyed. Noticed on master gtk3x-client, but presumable in other gtk-clients and branches too. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/43222 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43222