blah wrote: > > I tried that, made very nasty things happen. > I had: > if (ch->char_specials.mname) > free(ch->char_specials.mname); Everytime I have ever crashed with a free I found one or more of a coupla things went wrong. First would be, the address is NULL or out of bounds. That'll crash ya every time. Another would be the item in question was already freed at one point, which I did a few times when writing some olc *blush*. Those are the experiences I've had, hope it helped. christian +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST