From e530c899406d2212fb7cb8821d083fb4871ff718 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Sun, 11 Jan 2015 19:48:54 -0500 Subject: 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 Reviewed-by: Michael Mann --- epan/oids.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/oids.h') diff --git a/epan/oids.h b/epan/oids.h index a0668a5272..4ddba2bd23 100644 --- a/epan/oids.h +++ b/epan/oids.h @@ -124,7 +124,7 @@ WS_DLL_PUBLIC void oids_cleanup(void); * 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. */ /* -- cgit v1.2.1