aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/h248/h248.cnf
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-06-19 23:08:58 +0000
committerEvan Huus <eapache@gmail.com>2013-06-19 23:08:58 +0000
commit8b0f1addd990ae1b6616dbb5a21e530942461154 (patch)
treee72f102e0cec19ee49b5729f8dcfa62afa3a931d /asn1/h248/h248.cnf
parente6e7c1181bd33a94de00e137685f39520bd858dc (diff)
Apparently one of our major global headers must include emem.h, because I just
found a bunch more asn1 dissectors using emem without ever directly including the header. Convert those to wmem as well, which involves add a number of #include directives since dissectors do *not* automatically pull in the wmem headers. svn path=/trunk/; revision=50066
Diffstat (limited to 'asn1/h248/h248.cnf')
-rw-r--r--asn1/h248/h248.cnf6
1 files changed, 3 insertions, 3 deletions
diff --git a/asn1/h248/h248.cnf b/asn1/h248/h248.cnf
index a87b1afa9f..227425a7a5 100644
--- a/asn1/h248/h248.cnf
+++ b/asn1/h248/h248.cnf
@@ -312,7 +312,7 @@ AuditReplyV1/auditResult audit_result
#.END
#.FN_HDR TerminationID
- curr_info.term = ep_new0(gcp_term_t);
+ curr_info.term = wmem_new0(wmem_packet_scope(), gcp_term_t);
wild_term = GCP_WILDCARD_NONE;
#.END
@@ -352,8 +352,8 @@ AuditReplyV1/auditResult audit_result
}
} else {
curr_info.term->len = 0;
- curr_info.term->buffer = (guint8*)ep_strdup("");
- curr_info.term->str = ep_strdup("?");
+ curr_info.term->buffer = (guint8*)wmem_strdup(wmem_packet_scope(), "");
+ curr_info.term->str = wmem_strdup(wmem_packet_scope(), "?");
}
#.END