Opened 13 years ago

Closed 13 years ago

Last modified 12 months ago

#8544 closed patch

Leak in File::Open (on OS X) and unzOpen (on all)

Reported by: SF/madm00se Owned by: vinterstum
Priority: normal Component: --Other--
Keywords: Cc:
Game:

Description

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.

Ticket imported from: #1503716. Ticket imported from: patches/649.

Attachments (1)

leaks-and-indentation.diff (1.6 KB ) - added by SF/madm00se 13 years ago.
Leaks begone!

Download all attachments as: .zip

Change History (6)

by SF/madm00se, 13 years ago

Attachment: leaks-and-indentation.diff added

Leaks begone!

comment:1 by vinterstum, 13 years ago

Applied, thanks :)

comment:2 by vinterstum, 13 years ago

Resolution: fixed
Status: newclosed

comment:3 by Kirben, 10 years ago

Owner: set to vinterstum

comment:4 by Kirben, 10 years ago

Resolution: fixed

comment:5 by digitall, 12 months ago

Component: --Other--
Note: See TracTickets for help on using tickets.