Bug 143151 - Calling crypto.webkitSubtle.generateKey causes page memory to never be released
Summary: Calling crypto.webkitSubtle.generateKey causes page memory to never be released
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-03-27 13:55 PDT by Alexey Proskuryakov
Modified: 2015-03-27 14:05 PDT (History)
0 users

See Also:


Attachments
proposed fix (1.66 KB, patch)
2015-03-27 13:59 PDT, Alexey Proskuryakov
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>.