Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CoreGraphics Leaks #1173

Closed
ilzxc opened this issue Nov 1, 2015 · 2 comments
Closed

CoreGraphics Leaks #1173

ilzxc opened this issue Nov 1, 2015 · 2 comments

Comments

@ilzxc
Copy link

ilzxc commented Nov 1, 2015

Hello:

Thanks for all the work and congratulations on releasing Cinder 0.9!

I noticed these couple of leaks when profiling my code:

Leaked Object # Address Size Responsible Library Responsible Frame
Malloc 16 Bytes 1 0x610000016790 16 Bytes CoreGraphics CGDisplayCurrentMode
NSMutableArray 1 0x618000054a60 48 Bytes CoreGraphics initDisplayModeList

These 64 bytes leak in all examples, and in an untouched TinderBox app. I'm not sure this is even your fault, but figured you should know.

@pizthewiz
Copy link
Contributor

What OS version / Xcode are you running? Are these leaks seen immediately on app launch? Can you track back to what the calling function is? It isn't unusual for some allocations from system frameworks to be flagged as leaks but it worth checking out.

@richardeakin
Copy link
Collaborator

Thanks for the kind words, and the repot. Although I'm not seeing any leaks (using Leaks tool) here when running a fresh app from tinderbox on mac. Also I have seen small leaks like this coming from Cocoa frameworks in the past. Going to close this issue, happy to reopen if anyone can spot where specific leaks are coming from and we'll address them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants