> Ive had this problem as well, it seems to be inherent in most copies.
<SNIP>
Unfortunently this did not work, however now I get new errors in debug:
void free_type_list(struct shop_buy_data **list)
{
  int i;
  for (i = 0; (*list)[i].type != -1; i++)
    if (BUY_WORD((*list)[i]))
      free(BUY_WORD((*list)[i]));
// Complains above about free (BUY_..... but everything has a value in
debug.
//  i 1  <--- APEARS IN RED
// list 0x00bd9bd0
// *list 0x00bd9c10
  free(*list);
  *list = NULL;
}
Next:
void copy_type_list(struct shop_buy_data **tlist, struct shop_buy_data
*flist)
{
  int num_items, i;
  if (*tlist)
    free_type_list(tlist);
// Complains above about free_type_list(tlist);
// Not everything in debug has a value this time.
//  i -858993460  <--- APEARS IN RED
//  num_items -858993460
// *tlist 0x00bd9c10
// tlist 0x00bd9bd0
Any other ideas? :)
Thanks,
Dave
--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT