Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] rev 43740: /trunk/ui/gtk/ /trunk/ui/gtk/: tcp_graph.c

Date: Mon, 16 Jul 2012 03:05:36 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43740

User: martinm
Date: 2012/07/15 08:05 PM

Log:
 Don't create and destroy a cairo context for each line and ellipse when
 redrawing the graph.
 
 Don't mess around with a static pointer when allocating segments. This
 seems unecessary and can result in the last one being leaked.
 
 These changes were already made to rlc_lte_graph.c, which is based upon
 the tcp graph code.

Directory: /trunk/ui/gtk/
  Changes    Path           Action
  +10 -30    tcp_graph.c    Modified