diff options
author | Gerald Combs <gerald@wireshark.org> | 2005-08-26 15:45:31 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2005-08-26 15:45:31 +0000 |
commit | ac90099d13facb856403fa972cc128059b407e19 (patch) | |
tree | 63fa460cfdf83fa896d344ab11fef814a6982a6c /asn1 | |
parent | 57a75020f76619c45f0463fa2fe9ff251b9ce10f (diff) |
Add a pair of #defines to emem.c that make ep_alloc() and se_alloc()
use individual g_malloc() calls instead of memchunks. This lets us use
tools like Valgrind and ElectricFence to find bugs.
In the H.245 dissector, set h245_pi to NULL after we're done with
it so that we don't go stomping through our memchunks with muddy
boots later on. Fixes the current Buildbot menagerie failure.
svn path=/trunk/; revision=15539
Diffstat (limited to 'asn1')
-rw-r--r-- | asn1/h245/packet-h245-template.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/asn1/h245/packet-h245-template.c b/asn1/h245/packet-h245-template.c index 7ecc6dfa16..996e8e12df 100644 --- a/asn1/h245/packet-h245-template.c +++ b/asn1/h245/packet-h245-template.c @@ -260,6 +260,7 @@ dissect_h245_h245(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) offset = dissect_h245_MultimediaSystemControlMessage(tvb, offset, pinfo ,tr, hf_h245_pdu_type); tap_queue_packet(h245dg_tap, pinfo, h245_pi); offset = (offset+0x07) & 0xfffffff8; + h245_pi = NULL; } } |