[ scummvm-Patches-1829748 ] Fix for memory leaks in File::exists

SourceForge.net noreply at sourceforge.net
Sun Nov 11 03:48:49 CET 2007


Patches item #1829748, was opened at 2007-11-11 03:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1829748&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jordi Vilalta (jvprat)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix for memory leaks in File::exists

Initial Comment:
The File::exists function creates new FilesystemNode objects in order to test their physical existence, but doesn't delete them before returning or creating a new instance. The attached patch changes the FilesystemNode to be local variables, so they're automatically deleted.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1829748&group_id=37116




More information about the Scummvm-tracker mailing list