Re: if (blah) ...

From: George Greer (greerga@circlemud.org)
Date: 08/19/99


On Thu, 19 Aug 1999, Peter Ajamian wrote:

>Ceartainly there are several places where it frees memory, then sets the pointer
>to null, but where does it then turn around and base an if statement on the value
>of the pointer which was just set to null as in the following line from above...?

Well, if you really want to be that anal about it, line 1319 of
interpreter.c does a 'free_char(d->character); d->character=NULL;' and then
calls Valid_Name() that traverses the list of descriptors looking at
GET_NAME(d->character).

--
George Greer            | The CircleMUD FAQ
greerga@circlemud.org   | http://developer.circlemud.org/docs/FAQ/


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST