diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-04-19 04:04:12 -0700 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-04-19 14:20:06 +0000 |
commit | 80011ec03c034cbebbe901eb4ded1242efe8fc78 (patch) | |
tree | e10045f12229249b2e348fd8e288b6ecf6ad1074 /epan/to_str.h | |
parent | 1d574597ec2dfed1ba7674866e8634d7f1ed988b (diff) | |
download | wireshark-80011ec03c034cbebbe901eb4ded1242efe8fc78.tar.gz |
Don't se_ allocate strings when mapping addresses to column strings.
This should significantly reduce memory usage, without increasing the
CPU time required to process a capture file in TShark or Wireshark.
As a result, se_address_to_str() is no longer used; eliminate it.
Fixes bug #9949.
Change-Id: I65a112a426c82cc73a957b81384c765c3d14f2c3
Reviewed-on: https://code.wireshark.org/review/1213
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/to_str.h')
-rw-r--r-- | epan/to_str.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/to_str.h b/epan/to_str.h index 8ac171b1d2..edd9d77c57 100644 --- a/epan/to_str.h +++ b/epan/to_str.h @@ -51,7 +51,6 @@ struct e_in6_addr; WS_DLL_PUBLIC gchar* address_to_str(wmem_allocator_t *scope, const address *addr); WS_DLL_PUBLIC gchar* ep_address_to_str(const address *); -extern gchar* se_address_to_str(const address *); WS_DLL_PUBLIC void address_to_str_buf(const address *addr, gchar *buf, int buf_len); WS_DLL_PUBLIC const gchar* ether_to_str(const guint8 *); WS_DLL_PUBLIC const gchar* tvb_ether_to_str(tvbuff_t *tvb, const gint offset); |