Re: [NEWBIE] Examine X.corpse problem.

From: Patrick Dughi (dughi@imaxx.net)
Date: 03/28/00


> >-  look_at_target(ch, arg);
> >+  look_at_target(ch, str_dup(arg));
>
> Please, please, please don't tell me that you are actually using that
> change in your MUD.
>
> Please please please do tell why? (I am not using it but with no
> explanation, some of us newbieish types do not understand without
> a slight explanation)

        Because you never free the memory allocated by the str_dup.

                                                        PjD


     +------------------------------------------------------------+
     | 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 : 04/10/01 PDT