aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_dtap.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2009-09-15 17:37:54 +0000
committerBill Meier <wmeier@newsguy.com>2009-09-15 17:37:54 +0000
commit6c545e0d798571d82230c9a652f7fea2d0f23365 (patch)
tree83eba9280f86acfc8cdaf8b62ea258b15673ed5e /epan/dissectors/packet-gsm_a_dtap.c
parent9467ccee2c25d445a6d9a596ce3b77db65e63ffe (diff)
Save some memory: Don't statically allocate ett[] arrays used "dynamically".
svn path=/trunk/; revision=29929
Diffstat (limited to 'epan/dissectors/packet-gsm_a_dtap.c')
-rw-r--r--epan/dissectors/packet-gsm_a_dtap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-gsm_a_dtap.c b/epan/dissectors/packet-gsm_a_dtap.c
index dbdd63321c..1da4db27cb 100644
--- a/epan/dissectors/packet-gsm_a_dtap.c
+++ b/epan/dissectors/packet-gsm_a_dtap.c
@@ -6066,10 +6066,10 @@ proto_register_gsm_a_dtap(void)
/* Setup protocol subtree array */
#define NUM_INDIVIDUAL_ELEMS 19
- static gint *ett[NUM_INDIVIDUAL_ELEMS +
- NUM_GSM_DTAP_MSG_MM + NUM_GSM_DTAP_MSG_CC +
- NUM_GSM_DTAP_MSG_SMS + NUM_GSM_DTAP_MSG_SS + NUM_GSM_DTAP_MSG_TP +
- NUM_GSM_DTAP_ELEM];
+ gint *ett[NUM_INDIVIDUAL_ELEMS +
+ NUM_GSM_DTAP_MSG_MM + NUM_GSM_DTAP_MSG_CC +
+ NUM_GSM_DTAP_MSG_SMS + NUM_GSM_DTAP_MSG_SS + NUM_GSM_DTAP_MSG_TP +
+ NUM_GSM_DTAP_ELEM];
ett[0] = &ett_dtap_msg;
ett[1] = &ett_dtap_oct_1;