diff options
author | Michael Mann <mmann78@netscape.net> | 2015-01-07 19:24:52 -0500 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-01-08 07:18:09 +0000 |
commit | cff098e3eb6a871a1e39559d27b33dc3a3437c2c (patch) | |
tree | f4ec6b456958bd5ebf0ba5204f5424f8c477838a /epan/to_str.c | |
parent | 5d610b58c5c45c0bb555d227a684785a0721f434 (diff) |
guid_to_ep_str -> guid_to_str
guid_to_str now uses wmem allocation.
Change-Id: I8e48d1a720942fbefbaa6227ae0929cb9f856359
Reviewed-on: https://code.wireshark.org/review/6391
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/to_str.c')
-rw-r--r-- | epan/to_str.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/to_str.c b/epan/to_str.c index 6c4cecb249..e3be688c84 100644 --- a/epan/to_str.c +++ b/epan/to_str.c @@ -1025,11 +1025,11 @@ ip_to_str_buf(const guint8 *ad, gchar *buf, const int buf_len) } gchar * -guid_to_ep_str(const e_guid_t *guid) +guid_to_str(wmem_allocator_t *scope, const e_guid_t *guid) { gchar *buf; - buf=(gchar *)ep_alloc(GUID_STR_LEN); + buf=(gchar *)wmem_alloc(scope, GUID_STR_LEN); return guid_to_str_buf(guid, buf, GUID_STR_LEN); } |