Re: Strings...

From: blah (merren@MINDCRYME.COM)
Date: 02/19/98


I tried that, made very nasty things happen.
I had:
  if (ch->char_specials.mname)
    free(ch->char_specials.mname);
etc...

Crashola's out the bunghole...

Melen
Allanthya.org port 4000

On Thu, 19 Feb 1998, Daniel Koepke wrote:

> On Thu, 19 Feb 1998, blah wrote:
>
> ->Here's the question:
> ->
> ->What about those strings I'm using, don't they need to be free()'d
> ->somewhere? If so, where would I do this, just in free_char() in db.c?
>
> Free them in unmorph.  Makes sense to me.
>
> -dak
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+
>


     +------------------------------------------------------------+
     | 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