Bug 38110 - [Qt] QScriptStringPrivate c'tor problem
Summary: [Qt] QScriptStringPrivate c'tor problem
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Jędrzej Nowacki
Keywords: Qt
Depends on:
Blocks: 31863
  Show dependency treegraph
Reported: 2010-04-26 04:00 PDT by Jędrzej Nowacki
Modified: 2010-04-26 05:28 PDT (History)
4 users (show)

See Also:

fix v1 (1.26 KB, patch)
2010-04-26 04:07 PDT, Jędrzej Nowacki
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jędrzej Nowacki 2010-04-26 04:00:53 PDT
The c'tor shouldn't call JSStringRetain function. QScriptConverter implicitly pass a JSStringref ownership.
Comment 1 Jędrzej Nowacki 2010-04-26 04:07:58 PDT
Created attachment 54271 [details]
fix v1

Fix the memory leak.
Comment 2 WebKit Commit Bot 2010-04-26 05:28:24 PDT
Comment on attachment 54271 [details]
fix v1

Clearing flags on attachment: 54271

Committed r58248: <http://trac.webkit.org/changeset/58248>
Comment 3 WebKit Commit Bot 2010-04-26 05:28:30 PDT
All reviewed patches have been landed.  Closing bug.