Leak in File::Open (on OS X) and unzOpen (on all)
|Reported by:||SF/madm00se||Owned by:||vinterstum|
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.