Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2005:
[Freeciv-Dev] (PR#11972) gtk2-client memory leak in create_city_dialog

[Freeciv-Dev] (PR#11972) gtk2-client memory leak in create_city_dialog

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#11972) gtk2-client memory leak in create_city_dialog
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 18 Jan 2005 17:48:18 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: >

This leak is in the gtk2 client in the dev branch.  I dunno if it's in 
the S2_0 branch as well.

==23942== 352 bytes in 2 blocks are definitely lost in loss record 94 of 153
==23942==    at 0x1B907901: calloc (vg_replace_malloc.c:176)
==23942==    by 0x1BD7E4CE: g_malloc0 (in /usr/lib/
==23942==    by 0x1BD30119: g_type_create_instance (in 
==23942==    by 0x1BD1A73E: (within /usr/lib/
==23942==    by 0x1BD19ECD: g_object_newv (in 
==23942==    by 0x1BD1A70D: g_object_new_valist (in 
==23942==    by 0x1BD19B95: g_object_new (in 
==23942==    by 0x1BA40316: gtk_menu_new (in 
==23942==    by 0x81007B0: create_city_dialog (citydlg.c:1237)
==23942==    by 0x80FE028: popup_city_dialog (citydlg.c:432)
==23942==    by 0x8085868: handle_city_packet_common (packhand.c:616)
==23942==    by 0x808549B: handle_city_info (packhand.c:536)
==23942==    by 0x8089AF9: client_handle_packet (packhand_gen.c:115)
==23942==    by 0x80705BA: handle_packet_input (civclient.c:371)
==23942==    by 0x8073B3E: input_from_server (clinet.c:340)
==23942==    by 0x1BC1019A: (within /usr/lib/
==23942==    by 0x1BD9D2BE: (within /usr/lib/
==23942==    by 0x1BD77C01: (within /usr/lib/
==23942==    by 0x1BD78CF7: g_main_context_dispatch (in 
==23942==    by 0x1BD7902F: (within /usr/lib/
==23942==    by 0x1BD79672: g_main_loop_run (in 
==23942==    by 0x1BA37C82: gtk_main (in 
==23942==    by 0x811667C: ui_main (gui_main.c:1200)
==23942==    by 0x806FDD9: main (civclient.c:339)


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#11972) gtk2-client memory leak in create_city_dialog, Jason Short <=