[Pidgin] #11372: possible leaks in pidginstock.c

Pidgin trac at pidgin.im
Mon Feb 15 01:37:33 EST 2010


#11372: possible leaks in pidginstock.c
--------------------------+-------------------------------------------------
 Reporter:  darkrain42    |     Owner:       
     Type:  defect        |    Status:  new  
Component:  pidgin (gtk)  |   Version:  2.6.5
 Keywords:                |  
--------------------------+-------------------------------------------------
 Possible leaks in the pidgin stock icon code, but haven't
 verified/investigated (they're relatively sizeable and aren't pango-
 related).

 These line numbers (in pidginstock.c) correspond to
 633db1f2c83f666e4ac7a26601725cb01233681e
 {{{
 ==1255== 4,608 bytes in 2 blocks are possibly lost in loss record 13,999
 of 14,116
 ==1255==    at 0x4C221A7: malloc (vg_replace_malloc.c:195)
 ==1255==    by 0x7943073: gdk_pixbuf_new (gdk-pixbuf.c:269)
 ==1255==    by 0x233D4304: gdk_pixbuf__png_image_load (io-png.c:303)
 ==1255==    by 0x7946B72: _gdk_pixbuf_generic_image_load (gdk-pixbuf-
 io.c:1065)
 ==1255==    by 0x794788B: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:1177)
 ==1255==    by 0x435BAF: add_sized_icon (pidginstock.c:365)
 ==1255==    by 0x436298: pidgin_stock_load_stock_icon_theme
 (pidginstock.c:557)
 ==1255==    by 0x436FE0: pidgin_stock_init (pidginstock.c:604)
 ==1255==    by 0x485328: pidgin_ui_init (gtkmain.c:321)
 ==1255==    by 0x938BF01: purple_core_init (core.c:185)
 ==1255==    by 0x485A47: main (gtkmain.c:859)

 ==1255== 8,192 bytes in 2 blocks are possibly lost in loss record 14,038
 of 14,116
 ==1255==    at 0x4C221A7: malloc (vg_replace_malloc.c:195)
 ==1255==    by 0x7943073: gdk_pixbuf_new (gdk-pixbuf.c:269)
 ==1255==    by 0x233D4304: gdk_pixbuf__png_image_load (io-png.c:303)
 ==1255==    by 0x7946B72: _gdk_pixbuf_generic_image_load (gdk-pixbuf-
 io.c:1065)
 ==1255==    by 0x794788B: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:1177)
 ==1255==    by 0x435BAF: add_sized_icon (pidginstock.c:365)
 ==1255==    by 0x436332: pidgin_stock_load_stock_icon_theme
 (pidginstock.c:558)
 ==1255==    by 0x436FE0: pidgin_stock_init (pidginstock.c:604)
 ==1255==    by 0x485328: pidgin_ui_init (gtkmain.c:321)
 ==1255==    by 0x938BF01: purple_core_init (core.c:185)
 ==1255==    by 0x485A47: main (gtkmain.c:859)

 ==1255== 14,000 bytes in 11 blocks are possibly lost in loss record 14,060
 of 14,116
 ==1255==    at 0x4C221A7: malloc (vg_replace_malloc.c:195)
 ==1255==    by 0x7943073: gdk_pixbuf_new (gdk-pixbuf.c:269)
 ==1255==    by 0x233D4304: gdk_pixbuf__png_image_load (io-png.c:303)
 ==1255==    by 0x7946B72: _gdk_pixbuf_generic_image_load (gdk-pixbuf-
 io.c:1065)
 ==1255==    by 0x794788B: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:1177)
 ==1255==    by 0x435BAF: add_sized_icon (pidginstock.c:365)
 ==1255==    by 0x4361FE: pidgin_stock_load_stock_icon_theme
 (pidginstock.c:556)
 ==1255==    by 0x436FE0: pidgin_stock_init (pidginstock.c:604)
 ==1255==    by 0x485328: pidgin_ui_init (gtkmain.c:321)
 ==1255==    by 0x938BF01: purple_core_init (core.c:185)
 ==1255==    by 0x485A47: main (gtkmain.c:859)

 ==1255== 18,624 bytes in 2 blocks are possibly lost in loss record 14,075
 of 14,116
 ==1255==    at 0x4C221A7: malloc (vg_replace_malloc.c:195)
 ==1255==    by 0x7943073: gdk_pixbuf_new (gdk-pixbuf.c:269)
 ==1255==    by 0x233D4304: gdk_pixbuf__png_image_load (io-png.c:303)
 ==1255==    by 0x7946B72: _gdk_pixbuf_generic_image_load (gdk-pixbuf-
 io.c:1065)
 ==1255==    by 0x794788B: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:1177)
 ==1255==    by 0x435BAF: add_sized_icon (pidginstock.c:365)
 ==1255==    by 0x4363CC: pidgin_stock_load_stock_icon_theme
 (pidginstock.c:559)
 ==1255==    by 0x436FE0: pidgin_stock_init (pidginstock.c:604)
 ==1255==    by 0x485328: pidgin_ui_init (gtkmain.c:321)
 ==1255==    by 0x938BF01: purple_core_init (core.c:185)
 ==1255==    by 0x485A47: main (gtkmain.c:859)
 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/11372>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list