diff options
author | Michael Mann <mmann78@netscape.net> | 2015-01-11 19:48:54 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-01-16 00:37:02 +0000 |
commit | e530c899406d2212fb7cb8821d083fb4871ff718 (patch) | |
tree | 9bb1ef43a4ed562dfb7a19c4db4ecd17926801a7 /epan/addr_resolv.h | |
parent | 7d43836b3ad54073a98926450ff0bca7bc34ddeb (diff) |
Replace se alloced memory in compare stat tap.
Also replaced comments mentioning se_alloc memory with wmem_file_scope, since it's more accurate.
It seems that many of the TShark stat taps may be leaking memory, because the hash tables created by the taps don't get a chance to be freed. Somewhat academic since TShark exits shortly after displaying any stats, but a leak none the less.
Change-Id: I8ceecbd00d65b3442dc02d720b39c2e15aa0c8a6
Reviewed-on: https://code.wireshark.org/review/6557
Reviewed-by: Evan Huus <eapache@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/addr_resolv.h')
-rw-r--r-- | epan/addr_resolv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/addr_resolv.h b/epan/addr_resolv.h index 3ba002df5c..184462c285 100644 --- a/epan/addr_resolv.h +++ b/epan/addr_resolv.h @@ -26,7 +26,7 @@ * However, take into account that when the packet dissection * completes, these buffers will be automatically reclaimed/freed. * If you need the buffer to remain for a longer scope than packet lifetime - * you must copy the content to an se_alloc() buffer. + * you must copy the content to an wmem_file_scope() buffer. */ #ifndef __RESOLV_H__ |