#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: |
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)
Change History (6)
by , 20 years ago
| Attachment: | leaks-and-indentation.diff added |
|---|
comment:2 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:3 by , 17 years ago
| Owner: | set to |
|---|
comment:4 by , 17 years ago
| Resolution: | fixed |
|---|
comment:5 by , 7 years ago
| Component: | → --Other-- |
|---|
Note:
See TracTickets
for help on using tickets.

Leaks begone!