aboutsummaryrefslogtreecommitdiffstats
path: root/epan/addr_resolv.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-01-18 13:02:15 -0800
committerGuy Harris <guy@alum.mit.edu>2015-01-18 21:02:40 +0000
commit050bc7d100e9846663ac2c14eadde15e9cd9fdb9 (patch)
tree29b58df68f42d396d1507e89df1e9d8631713368 /epan/addr_resolv.c
parent929d41c6856139168c441a14498210d31574de97 (diff)
Update some comments to reflect reality.
Get rid of references to ep_ and se_ allocation in code that now uses wmem allocation instead. Fix API documentation of conversation_table.h routines to reflect that as well - some APIs changed to pass wmem scopes. Also, zbee_sec_key_hash() now takes the output buffer as an argument and just returns it, and nobody actually uses the return value, so change it to return void. Change-Id: Ife1ec675a9322fd0f0be306a9d639ec17aad1c7a Reviewed-on: https://code.wireshark.org/review/6636 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/addr_resolv.c')
-rw-r--r--epan/addr_resolv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c
index a27e09a760..b7ff553aab 100644
--- a/epan/addr_resolv.c
+++ b/epan/addr_resolv.c
@@ -2908,8 +2908,6 @@ address_to_display(wmem_allocator_t *allocator, const address *addr)
const gchar *result = solve_address_to_name(addr);
if (result != NULL) {
- /* unlike ep_address_to_display(), we can't assume the lifetime of the address' members
- is safe, so we allocate and copy */
str = wmem_strdup(allocator, result);
}
else if (addr->type == AT_NONE) {