From d296c75247b2b176e728cfdcf24a2f20d6fa2449 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Thu, 8 Jan 2015 13:59:33 -0500 Subject: Some more random removal of ep_ memory. Change-Id: I6eccd20280e907bd9e6a5fcf873ccf80afddecac Reviewed-on: https://code.wireshark.org/review/6416 Petri-Dish: Hadriel Kaplan Reviewed-by: Anders Broman --- doc/README.tapping | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/README.tapping') diff --git a/doc/README.tapping b/doc/README.tapping index bc460a400c..75b99ac69c 100644 --- a/doc/README.tapping +++ b/doc/README.tapping @@ -197,7 +197,7 @@ tap_queue_packet() is using its own instance of private struct variable so they don't overwrite each other. See packet-ip.c which has a simple solution to the problem. It creates -a unique instance of the IP header using ep_alloc(). +a unique instance of the IP header using wmem_alloc(). Previous versions used a static struct of 4 instances of the IP header struct and cycled through them each time the dissector was called. (4 was just a number taken out of the blue but it should be enough for most -- cgit v1.2.3