diff options
author | Evan Huus <eapache@gmail.com> | 2012-12-19 00:43:36 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2012-12-19 00:43:36 +0000 |
commit | 5cf858ec52d1f3a05fcaa43ac0571d321244a87e (patch) | |
tree | d2a49636b7fd471647f1f2a0635be5ca45903c17 /tools | |
parent | 561525cbb538b030d28aa4951cf77c9f3f286954 (diff) |
Dispatch all allocator creations through a single function using an enum to
determine the desired type. This has two advantages over the old way:
- just one environment variable for valgrind to override in order to guarantee
that ALL allocators use memory it can track, and just one place to check that
variable
- allocator owners no longer have to include headers specific to their
allocator, allowing them to change allocators without adjusting all their
#includes
svn path=/trunk/; revision=46604
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/valgrind-wireshark.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/valgrind-wireshark.sh b/tools/valgrind-wireshark.sh index 6970d9eb2f..b6c5903bdd 100755 --- a/tools/valgrind-wireshark.sh +++ b/tools/valgrind-wireshark.sh @@ -78,7 +78,7 @@ fi export WIRESHARK_DEBUG_EP_NO_CHUNKS= export WIRESHARK_DEBUG_SE_NO_CHUNKS= -export WIRESHARK_DEBUG_WMEM_PACKET_NO_CHUNKS= +export WIRESHARK_DEBUG_WMEM_SIMPLE= export G_SLICE=always-malloc # or debug-blocks libtool --mode=execute valgrind $LEAK_CHECK $REACHABLE $TRACK_ORIGINS $BIN_DIR/$COMMAND $COMMAND_ARGS $PCAP $COMMAND_ARGS2 > /dev/null |