diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-03-20 01:18:10 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-03-20 01:18:10 +0000 |
commit | 0df5a9390d41149dfc87440d72e7669ba96748ec (patch) | |
tree | 8accf4dfc301adfc679ed7f21b7123cb4b2c55f9 /epan/asn1.c | |
parent | a43e5a7eb9fe1ad5a89e7cfd556a791a50fefee7 (diff) |
From beroset:
remove C++ incompatibilities
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10397
svn path=/trunk/; revision=48438
Diffstat (limited to 'epan/asn1.c')
-rw-r--r-- | epan/asn1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/asn1.c b/epan/asn1.c index 048a3b068a..6f0e20ca6f 100644 --- a/epan/asn1.c +++ b/epan/asn1.c @@ -65,7 +65,7 @@ void asn1_ctx_clean_epdv(asn1_ctx_t *actx) { void asn1_stack_frame_push(asn1_ctx_t *actx, const gchar *name) { asn1_stack_frame_t *frame; - frame = ep_alloc0(sizeof(asn1_stack_frame_t)); + frame = ep_new0(asn1_stack_frame_t); frame->name = name; frame->next = actx->stack; actx->stack = frame; @@ -113,7 +113,7 @@ static asn1_par_t *push_new_par(asn1_ctx_t *actx) { DISSECTOR_ASSERT(actx->stack); - par = ep_alloc0(sizeof(asn1_par_t)); + par = ep_new0(asn1_par_t); pp = &(actx->stack->par); while (*pp) |