Opened 18 years ago

Closed 18 years ago

#3 closed defect (fixed)

Review NOMMalloc()/NOMCalloc()

Reported by: cinc Owned by: somebody
Priority: trivial Milestone:
Component: component1 Version:
Keywords: NOMMalloc inuse Cc:

Description

NOMMalloc() and friends add size information to an allocated object thus increasing the memory object. This is done to make memory tracking in the inuse list of desktop objects easier. This should be changed now. NOMMalloc() is used everywhere for allocations so we increase memory objects everywhere. For inuse list uses we may introduce a wrapper function/method which will add the size info only if necessary.

Change History (1)

comment:1 by cinc, 18 years ago

Resolution: fixed
Status: newclosed

Ok, it wasn't that bad. The size information was only added in wpAllocMem() not on every NOMMAlloc() call.

Note: See TracTickets for help on using tickets.