[ scummvm-Bugs-1503716 ] Leak in File::Open (on OS X) and unzOpen (on all)
SourceForge.net
noreply at sourceforge.net
Fri Jun 9 22:41:36 CEST 2006
Bugs item #1503716, was opened at 2006-06-09 22:41
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=1503716&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
Submitted By: Thomas Fach-Pedersen (madm00se)
Assigned to: Nobody/Anonymous (nobody)
Summary: Leak in File::Open (on OS X) and unzOpen (on all)
Initial Comment:
On Mac OS X File::Open does CFStringCreateWithBytes and
CFBundleCopyResourceURL. It does not CFRelease either
object returned.
unzOpen (in common/unzip.cpp) leaks if
us->file.open(path) fails.
I touched some indentation in unzOpen too.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1503716&group_id=37116
More information about the Scummvm-tracker
mailing list