Opened 17 years ago

Closed 17 years ago

Last modified 5 years 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--
Version: Keywords:
Cc: Game:


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-> 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 17 years ago.
Leaks begone!

Download all attachments as: .zip

Change History (6)

by SF/madm00se, 17 years ago

Attachment: leaks-and-indentation.diff added

Leaks begone!

comment:1 by vinterstum, 17 years ago

Applied, thanks :)

comment:2 by vinterstum, 17 years ago

Resolution: fixed
Status: newclosed

comment:3 by Kirben, 14 years ago

Owner: set to vinterstum

comment:4 by Kirben, 14 years ago

Resolution: fixed

comment:5 by digitall, 5 years ago

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