Wireshark-commits: [Wireshark-commits] rev 52560: /trunk/epan/ /trunk/epan/: packet.c
Date: Sat, 12 Oct 2013 02:41:45 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=52560

User: eapache
Date: 2013/10/12 02:41 AM

Log:
 Free the actual struct, not the typedef thereof, because the typedef is actually
 a typedef of a *pointer* to the struct, not the struct itself, which are
 different sizes.
 
 This doesn't show up under valgrind because the length isn't checked in that
 case, everything gets subsumed in valgrind's malloc/free hooks.
 
 Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9264

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