- index_descr_table = (ClCategory *) xmalloc(max2 * sizeof(ClCategory));
- for (count = 0; count < max2; count++) index_descr_table[count] = 0;
+ index_descr_table = (ClCategory *) stgMallocBytes(max2 * sizeof(ClCategory), "init_index_descr");
+
+ for (count = 0; count < max2; count++)
+ index_descr_table[count] = 0;