[cc65] Need some help with a memory leak

From: Payton Byrd <plbyrd1gmail.com>
Date: 2010-05-04 19:39:57
I'm stumped trying to track down a memory leak and I'm hoping someone here
can spend a little time to help me out.  The only place in my app where I'm
dynamically allocating memory is creating the linked list that holds the
directory information for a drive, so I know it's gotta be in there
somewhere.  However, I believe I've been very thorough in my cleanup code,
but I could be wrong.

All of the code for this bug can be found at these URLs:

drives.h -
http://cbmcommand.codeplex.com/SourceControl/changeset/view/43431#834475
 <http://cbmcommand.codeplex.com/SourceControl/changeset/view/43431#834475>drives.c
- http://cbmcommand.codeplex.com/SourceControl/changeset/view/43431#834476

<http://cbmcommand.codeplex.com/SourceControl/changeset/view/43431#834476>The
problem appears in the getDirectory method.  This is the only place where
memory is dynamically allocated and freed.  Help is GREATLY appreciated.

-- 
Payton Byrd
<http://www.paytonbyrd.com>
<http://it.toolbox.com/blogs/paytonbyrd>

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue May 4 19:40:27 2010

This archive was generated by hypermail 2.1.8 : 2010-05-04 19:40:30 CEST