diff options
Diffstat (limited to 'epan/dissectors/packet-csm-encaps.c')
-rw-r--r-- | epan/dissectors/packet-csm-encaps.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/dissectors/packet-csm-encaps.c b/epan/dissectors/packet-csm-encaps.c index 9c12bdb107..fc77342b19 100644 --- a/epan/dissectors/packet-csm-encaps.c +++ b/epan/dissectors/packet-csm-encaps.c @@ -155,11 +155,9 @@ static const gchar * csm_fc(guint16 fc, guint16 ct) { if (fc == 0x0000) { - return wmem_strdup(wmem_packet_scope(), - val_to_str(ct, class_type_vals, "0x%04x")); + return val_to_str(ct, class_type_vals, "0x%04x"); } else { - return wmem_strdup(wmem_packet_scope(), - val_to_str(fc, function_code_vals, "0x%04x")); + return val_to_str(fc, function_code_vals, "0x%04x"); } } |