Bug 143151

Summary: Calling crypto.webkitSubtle.generateKey causes page memory to never be released
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebCore Misc.Assignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed fix thorton: review+

Description Alexey Proskuryakov 2015-03-27 13:55:53 PDT
Using crypto.webkitSubtle.generateKey for RSA always causes a world leak.

rdar://problem/18940687
Comment 1 Alexey Proskuryakov 2015-03-27 13:59:08 PDT
Created attachment 249605 [details]
proposed fix
Comment 2 Tim Horton 2015-03-27 14:01:10 PDT
Comment on attachment 249605 [details]
proposed fix

It would be nice if there were smart pointers here!
Comment 3 Alexey Proskuryakov 2015-03-27 14:05:08 PDT
Committed <https://trac.webkit.org/r182077>.