Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Event Handler UPP question



On 27/08/2003 05:34, David McLeod <email@hidden> wrote:

> On Aug 26, 2003, at 3:44 PM, Bryan Pietrzak wrote:
>> On Tuesday, August 26, 2003, at 05:22 PM, Bob Sabiston wrote:
>>> Do the calls to NewEventHandlerUPP() reserve memory that I should be
>>> freeing? When should I free it? If the function that installs the
>>> handlers gets called many times, do I have a memory leak?
>>
>> Yes you probably have a leak.
>
> Leaks pre-MacOSX. No leak on MacOSX. Compare the values of handlerUPP
> and MyHandler in your sample running on X.

Leaks for me on Mac OS X in CFM project.

Mike
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.