Re: if (blah) ...

From: Barry O'Mahony (Barryom@VISIO.COM)
Date: 08/19/99


>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...?

>>> > if (blah) printf("This is still printed.\n");

Emm, Does it not amount to the same thing. And the reasoning for setting it
to NULL afterwards is the same too??

Shades B )


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