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: memory allocation in DSS v3



The NEW macro should always be used. Using lowercase new is a bug.

on 11/17/00 12:37 PM, Deaton, Larry at email@hidden wrote:

> Hi,
> In looking at the DSS v3 code, I've noticed that it sometimes make use of
> the "NEW" macro when performing memory allocation and then sometimes just
> uses the "new".  Based on my understanding of the code, the upper case macro
> calls the functions in the OSMemory object and lowercase version does not.
> Is there any reason why all calls for memory allocation should not be using
> the uppercase "NEW" macro?
> 
> Any clarification would be appreciated.

-- 
Denis Serenyi
QuickTime Streaming Server Engineering
email@hidden




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.