[Webkit-unassigned] [Bug 21924] New: HashTable internal index is not always deleted
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 28 08:48:01 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=21924
Summary: HashTable internal index is not always deleted
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: fmarmond at pleyo.com
HashTable::createTable() allocates new HashEntry array, but
HashTable::deleteTable() is not always called, so this array may not be
deleted.
It can then introduce memory leaks, valgrind gives one of around 800ko on a
single gmail visit.
My fix is to call the deleteTable() in the HashTable destructor.
It is secured and fixes the memory leak.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list