Bug 110233

Summary: HeapBlock::destroy should issue warning if result is unused
Product: WebKit Reporter: Mark Hahnenberg <mhahnenberg>
Component: JavaScriptCoreAssignee: Mark Hahnenberg <mhahnenberg>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Mark Hahnenberg 2013-02-19 09:39:01 PST
To enforce the fact that we need to return blocks to the BlockAllocator after calling destroy, we should add WARN_UNUSED_RETURN to HeapBlock::destroy and any other destroy functions in its subclasses.
Comment 1 Mark Hahnenberg 2013-02-19 10:22:43 PST
Created attachment 189109 [details]
Patch
Comment 2 WebKit Review Bot 2013-02-19 10:41:48 PST
Comment on attachment 189109 [details]
Patch

Clearing flags on attachment: 189109

Committed r143354: <http://trac.webkit.org/changeset/143354>
Comment 3 WebKit Review Bot 2013-02-19 10:41:50 PST
All reviewed patches have been landed.  Closing bug.