chadliu23 / mozc

Automatically exported from code.google.com/p/mozc
0 stars 0 forks source link

mac/ActivatePane: Memory leaks? #234

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It looks like in mac/ActivatePane/ActivatePane.m, CFObjects created by 
functions that include Create in their names are not released by CFRelease. 
Basically, I think the CFObjects need to be released by CFRelease.
Please check the attached patch.

Also, please check the Create rule at:
https://developer.apple.com/library/mac/documentation/corefoundation/Conceptual/
CFMemoryMgmt/Concepts/Ownership.html#//apple_ref/doc/uid/20001148-103029

What version of the product are you using? On what operating system?
r251 on OS X 10.9.4.

Original issue reported on code.google.com by tetsuoki...@gmail.com on 5 Jul 2014 at 5:39

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for the report.  We will take a look at that code.
Unfortunately we are not accepting external patches at this moment but I'll 
keep you updated when the code is updated.

Thanks!

Original comment by yukawa@google.com on 5 Jul 2014 at 7:58

GoogleCodeExporter commented 9 years ago
Okay. Sounds good :)

Original comment by tetsuoki...@gmail.com on 5 Jul 2014 at 8:27