| Summary: | Leaks galore in OS X Cocoa code. | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Edward Rudd <urkle> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Mac OS X 10.6 | ||
| Attachments: |
Patches for the mentioned leaks w/ fixes.
Updated patch that fixes the Cocoa_GetDisplayName method |
||
|
Description
Edward Rudd
2013-01-12 11:34:28 UTC
Created attachment 1015 [details]
Patches for the mentioned leaks w/ fixes.
Created attachment 1027 [details]
Updated patch that fixes the Cocoa_GetDisplayName method
Patches applied, thanks! http://hg.libsdl.org/SDL/rev/b0ca1571caf3 I think the shape leak is fixed with the recent @autorelease patch. How did you find the leaks here? Valgrind? actually I was looking through the analyzer output and then reading through the code.. Now, AFAIK @autorelease only works in 64bit only!! (Really bloody annoying).. unless that has changed in recent clang compilers I backed out the @autorelease patch. Do you want to do another pass on the analyzer? |