On Sat, Jul 29, 2006, Bob Copeland wrote:
> On Sat, Jul 29, 2006 at 04:29:14PM -0400, Bob Copeland wrote:
> > +    if (db)
> > +    {
> > +        if (db->dmap)
> > +            free(db->dmap);
> > +        if (db->playlists)
> > +            free(db->playlists);
> > +        free(db);
> > +    }
> 
> Replying to myself... what's the lifetime of db supposed to be?  Is
> freeing it here ok?

No. It is used later on during writing. There is already a bunch of stuff
for freeing memory in hangup().

Keith.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel

Reply via email to