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 30496: /trunk/epan/ /trunk/epan/: emem.c

Date: Sun, 11 Oct 2009 08:20:48 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=30496

User: krj
Date: 2009/10/11 01:20 AM

Log:
 Use G_MEM_ALIGN when we have to determine the amount of padding needed instead of hard coding it to 8 bytes alignment.
 
 Before:
 
 Allocation distribution (sizes include canaries):
 size <    32:   454120
 size <    64:   401506
 
 After:
 
 Allocation distribution (sizes include canaries):
 size <    32:   457281
 size <    64:   398345

Directory: /trunk/epan/
  Changes    Path          Action
  +1 -1      emem.c        Modified