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/dissectors/packet-giop.c | |
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/dissectors/packet-giop.c')
-rw-r--r-- | epan/dissectors/packet-giop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-giop.c b/epan/dissectors/packet-giop.c index 8012a5f7a6..c5866052c4 100644 --- a/epan/dissectors/packet-giop.c +++ b/epan/dissectors/packet-giop.c @@ -1540,7 +1540,7 @@ static void giop_init(void) { /* * Create objkey/repoid hash, use my "equal" and "hash" functions. - * Note: keys and values are se_alloc'd so they don't need to be freed. + * Note: keys and values are wmem_file_scoped so they don't need to be freed. * */ @@ -1557,7 +1557,7 @@ static void giop_init(void) { /* * Create complete_reply_hash, use my "equal" and "hash" functions. - * Note: keys and values are se_alloc'd so they don't need to be freed. + * Note: keys and values are wmem_file_scoped so they don't need to be freed. * */ @@ -1574,7 +1574,7 @@ static void giop_init(void) { /* * Free giop_complete_request_list (if necessary) - * Note: The data elements are se_alloc'd so only the + * Note: The data elements are wmem_file_scoped so only the * actual list elements need to be freed. */ |