Memory

From: Rasdan (rasdan@PEAK.ORG)
Date: 03/17/98


In attempting to track down the memory problem I alluded to in a prior
message, I noticed that extract_char does not call free_char. After
examining closer, it appears as if the memory occupied by the char
structure is not freed at all when a character quits. I know that
REMOVE_FROM_LIST is called, but all that does is remove them from the
linked list, it doesn't free the memory being used. Is there a reason
free_char is not called in extract_char? If so, what is it. If not, is it
a bug?

Rasdan

                                  /   \
        _                 )      ((   ))     (
       (@)               /|\      ))_((     /|\                 _
       |-|`\            / | \    (/\|/\)   / | \               (@)
       | | ------------/--|-voV---\`|'/--Vov-|--\--------------|-|
       |-|                  '^`   (o o)  '^`                   | |
       | |  James C. Thomas Jr.   `\Y/'  Founder of Finality   |-|
       |-|            rasdan@finality.drachen.com              | |
       | |             finality.drachen.com 4000               |-|
       |_|_____________________________________________________| |
       (@)       l   /\ /         ( (       \ /\   l         `\|-|
                 l /   V           \ \       V   \ l           (@)
                 l/                _) )_          \I
                                   `\ /'
                                     `


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