aboutsummaryrefslogtreecommitdiffstats
path: root/epan/h225-persistentdata.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-03-20 01:18:10 +0000
committerBill Meier <wmeier@newsguy.com>2013-03-20 01:18:10 +0000
commit0df5a9390d41149dfc87440d72e7669ba96748ec (patch)
tree8accf4dfc301adfc679ed7f21b7123cb4b2c55f9 /epan/h225-persistentdata.c
parenta43e5a7eb9fe1ad5a89e7cfd556a791a50fefee7 (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/h225-persistentdata.c')
-rw-r--r--epan/h225-persistentdata.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/h225-persistentdata.c b/epan/h225-persistentdata.c
index 8a24fd4eaf..4cb813763a 100644
--- a/epan/h225-persistentdata.c
+++ b/epan/h225-persistentdata.c
@@ -83,10 +83,10 @@ h225ras_call_t * new_h225ras_call(h225ras_call_info_key *h225ras_call_key, packe
frame numbers are 1-origin, so we use 0
to mean "we don't yet know in which frame
the reply for this call appears". */
- new_h225ras_call_key = se_alloc(sizeof(h225ras_call_info_key));
+ new_h225ras_call_key = se_new(h225ras_call_info_key);
new_h225ras_call_key->reqSeqNum = h225ras_call_key->reqSeqNum;
new_h225ras_call_key->conversation = h225ras_call_key->conversation;
- h225ras_call = se_alloc(sizeof(h225ras_call_t));
+ h225ras_call = se_new(h225ras_call_t);
h225ras_call->req_num = pinfo->fd->num;
h225ras_call->rsp_num = 0;
h225ras_call->requestSeqNum = h225ras_call_key->reqSeqNum;
@@ -109,7 +109,7 @@ h225ras_call_t * append_h225ras_call(h225ras_call_t *prev_call, packet_info *pin
frame numbers are 1-origin, so we use 0
to mean "we don't yet know in which frame
the reply for this call appears". */
- h225ras_call = se_alloc(sizeof(h225ras_call_t));
+ h225ras_call = se_new(h225ras_call_t);
h225ras_call->req_num = pinfo->fd->num;
h225ras_call->rsp_num = 0;
h225ras_call->requestSeqNum = prev_call->requestSeqNum;