[ scummvm-Bugs-922928 ] memory leaks in 0.6.0 on windows
SourceForge.net
noreply at sourceforge.net
Thu Mar 25 07:34:03 CET 2004
Bugs item #922928, was opened at 2004-03-24 22:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=922928&group_id=37116
Category: Launcher/Install
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Matt Hargett (matt_hargett)
Assigned to: Nobody/Anonymous (nobody)
Summary: memory leaks in 0.6.0 on windows
Initial Comment:
Just did a run through BoundsChecker and detected these
leaks. Looking at the code, they sure look like leaks
to me as well. They appear to be related
WindowsFilesystemNode::addFile(), which was called many
times as I was browsing the filesystem and adding games
via the launcher UI.
String::ensureCapacity (str.cpp, L209)
char *newStr = (char *)calloc(1, newCapacity+1);
WindowsFilesystemNode::clone (windows-fs.cpp, line 54)
virtual FilesystemNode *clone() const { return new
WindowsFilesystemNode(this); }
WindowsFilesystemNode::listDir (windows-fs.cpp, line 143)
FSList *myList = new FSList();
All of these are not one-time leaks, and happen many
many times. I can give more details if necessary, but
it looks pretty obvious to me.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=922928&group_id=37116
More information about the Scummvm-tracker
mailing list