Wireshark-commits: [Wireshark-commits] rev 47110: /trunk/ /trunk/doc/: rawshark.pod tshark.pod wire
Date: Wed, 16 Jan 2013 03:34:30 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=47110

User: morriss
Date: 2013/01/15 07:34 PM

Log:
 As suggested in comments in sl_alloc() and sl_free(): add a new environment
 variable (WIRESHARK_DEBUG_USE_SLICES) which turns off the slab allocator and uses
 g_slices instead (which can themselves be turned off by setting
 G_SLICE=always-malloc).
 
 This makes debugging problems in slab-allocated memory easier to find
 (hopefully including https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8197 ).
 
 
 Set WIRESHARK_DEBUG_USE_SLICES when running Valgrind on *shark.
 
 
 Remove unused structure member: emem_chunk_t.org.

Directory: /trunk/doc/
  Changes    Path                      Action
  +6 -0      rawshark.pod              Modified
  +6 -0      tshark.pod                Modified
  +6 -0      wireshark.pod.template    Modified

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

Directory: /trunk/tools/
  Changes    Path                     Action
  +1 -0      valgrind-wireshark.sh    Modified