aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-nt.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-dcerpc-nt.c')
-rw-r--r--epan/dissectors/packet-dcerpc-nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dcerpc-nt.c b/epan/dissectors/packet-dcerpc-nt.c
index 8f5a1f1f67..72f2902a49 100644
--- a/epan/dissectors/packet-dcerpc-nt.c
+++ b/epan/dissectors/packet-dcerpc-nt.c
@@ -166,7 +166,7 @@ dissect_null_term_wstring(tvbuff_t *tvb, int offset,
len = tmp_offset - offset;
/* tvb_get_ephemeral_string didn't want the length with the 0*/
- s = tvb_get_unicode_string(tvb, offset, len, ENC_LITTLE_ENDIAN);
+ s = tvb_get_g_unicode_string(tvb, offset, len, ENC_LITTLE_ENDIAN);
proto_tree_add_string(tree, hf_index, tvb, offset, len, s);
g_free(s);