Re: INFO - memory leaks

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 08/13/97

On Wed, 13 Aug 1997, Tom Dailey wrote:

>couldn't get past the loading of the text files (help files etc..) because
>of a memory leak in utils.c.  I can't imagine what's going to happen when

Um, I'm betting your "memory leak" is str_dup().

>I actually have people playing the game, killing mobs, picking up objects,
>etc..  I'll post any and all errors I come across (I'm at work right now

It'll barf on add_follower() too.

Both functions do a CREATE() and then return without freeing, hence the
apparent memory leak.

-- | Genius may have its limitations, but stupidity | is not thus handicapped. -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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