Wireshark-commits: [Wireshark-commits] rev 44066: /trunk/ui/gtk/ /trunk/ui/gtk/: gui_utils.c
Date: Fri, 27 Jul 2012 08:49:41 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=44066

User: darkjames
Date: 2012/07/27 01:49 AM

Log:
 Fix reference counting of GdkPixbuf, unref after creating GtkImage (aka fix memleaks)
 
 Valgrind log:
   = 47,616 bytes in 1 blocks are possibly lost in loss record 41,578 of 41,608
   =    at 0x4C26ABB: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
   =    by 0xAA2BA53: gdk_pixbuf_new (in /usr/lib64/libgdk_pixbuf-2.0.so.0.2200.1)
   =    by 0x10379F2F: ??? (in /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so)
   =    by 0x1037A4FD: ??? (in /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so)
   =    by 0xAA3132E: gdk_pixbuf_new_from_xpm_data (in /usr/lib64/libgdk_pixbuf-2.0.so.0.2200.1)
   =    by 0x4589B5: xpm_to_widget (gui_utils.c:572)
   =    by 0x4E3FC4: about_wireshark (about_dlg.c:86)

Directory: /trunk/ui/gtk/
  Changes    Path           Action
  +10 -2     gui_utils.c    Modified