aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cdt.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-01-17 14:11:29 -0500
committerMichael Mann <mmann78@netscape.net>2015-01-19 02:52:11 +0000
commite333e4c90f0aca41b0a56cef22fd80d0b0e73e14 (patch)
tree0d90a0e8561d6e4cf1361d56629e649af655d40d /epan/dissectors/packet-cdt.c
parent59155d1d1c40a979d5f5040e4df35ee72dadbb9c (diff)
Convert OID APIs to use wmem.
There are a few oid functions that are only called in oids_test.c. I'll presume the APIs are used in proprietary dissectors rather than just remove them. Change-Id: I4595e00f93bf9ab8cf2493fe0432b91960f55a3f Reviewed-on: https://code.wireshark.org/review/6592 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Evan Huus <eapache@gmail.com> Reviewed-by: Guy Harris <guy@alum.mit.edu> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-cdt.c')
-rw-r--r--epan/dissectors/packet-cdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-cdt.c b/epan/dissectors/packet-cdt.c
index 85bdb1d014..09873bea8e 100644
--- a/epan/dissectors/packet-cdt.c
+++ b/epan/dissectors/packet-cdt.c
@@ -201,7 +201,7 @@ dissect_cdt_T_contentType_OID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int
offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_index, &obj_id);
if (obj_id) {
- const char *name = oid_resolved_from_string (obj_id);
+ const char *name = oid_resolved_from_string (wmem_packet_scope(), obj_id);
if (!name) {
name = obj_id;