diff options
author | Evan Huus <eapache@gmail.com> | 2014-06-15 23:42:14 -0700 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-06-16 17:26:25 +0000 |
commit | de00c49bd84c853c9260f70cc5857c5a5ab6d3be (patch) | |
tree | d20495295746d9c1b0623b631931f538ee6d3581 /epan/proto.c | |
parent | b71b68cd637de5501de9d5684c79b6c8b5b2dfd3 (diff) |
Convert a bunch of time_to_str functions to wmem
Change-Id: I24fe3cc4a3589dadc4528a77fe7ff13d06b1a983
Reviewed-on: https://code.wireshark.org/review/2245
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/proto.c')
-rw-r--r-- | epan/proto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/proto.c b/epan/proto.c index 304f15126c..6f4baa33a8 100644 --- a/epan/proto.c +++ b/epan/proto.c @@ -4172,7 +4172,7 @@ proto_custom_set(proto_tree* tree, const int field_id, gint occurrence, case FT_ABSOLUTE_TIME: offset_r += protoo_strlcpy(result+offset_r, - abs_time_to_ep_str((const nstime_t *)fvalue_get(&finfo->value), + abs_time_to_str(wmem_packet_scope(), (const nstime_t *)fvalue_get(&finfo->value), (absolute_time_display_e)hfinfo->display, TRUE), size-offset_r); break; @@ -5829,7 +5829,7 @@ proto_item_fill_label(field_info *fi, gchar *label_str) case FT_ABSOLUTE_TIME: label_fill(label_str, 0, hfinfo, - abs_time_to_ep_str((const nstime_t *)fvalue_get(&fi->value), + abs_time_to_str(wmem_packet_scope(), (const nstime_t *)fvalue_get(&fi->value), (absolute_time_display_e)hfinfo->display, TRUE)); break; |