Bug 96525 - [EFL] [WK2] Memory leaks in TestControllerEfl
Summary: [EFL] [WK2] Memory leaks in TestControllerEfl
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sudarsana Nagineni (babu)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-12 08:34 PDT by Sudarsana Nagineni (babu)
Modified: 2012-09-12 09:41 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.77 KB, patch)
2012-09-12 08:53 PDT, Sudarsana Nagineni (babu)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sudarsana Nagineni (babu) 2012-09-12 08:34:23 PDT
Valgrind reports the following memory leaks in WTR when I run the tests.

==21236== 24 bytes in 1 blocks are definitely lost in loss record 296 of 1,028
==21236==    at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==21236==    by 0x5620AF2: WTF::fastMalloc(unsigned long) (FastMalloc.cpp:268)
==21236==    by 0x52CD2F8: WTF::ThreadSafeRefCountedBase::operator new(unsigned long) (ThreadSafeRefCounted.h:72)
==21236==    by 0xB46976D: WebKit::WebString::createFromUTF8String(char const*) (WebString.h:60)
==21236==    by 0xB46936D: WKStringCreateWithUTF8CString (WKString.cpp:41)
==21236==    by 0x4243FF: WTR::TestController::initializeInjectedBundlePath() (TestControllerEfl.cpp:88)
==21236==    by 0x414A5C: WTR::TestController::initialize(int, char const**) (TestController.cpp:312)
==21236==    by 0x414010: WTR::TestController::TestController(int, char const**) (TestController.cpp:98)
==21236==    by 0x42454F: main (main.cpp:51)
==21236==
==21236== 24 bytes in 1 blocks are definitely lost in loss record 297 of 1,028
==21236==    at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==21236==    by 0x5620AF2: WTF::fastMalloc(unsigned long) (FastMalloc.cpp:268)
==21236==    by 0x52CD2F8: WTF::ThreadSafeRefCountedBase::operator new(unsigned long) (ThreadSafeRefCounted.h:72)
==21236==    by 0xB46976D: WebKit::WebString::createFromUTF8String(char const*) (WebString.h:60)
==21236==    by 0xB46936D: WKStringCreateWithUTF8CString (WKString.cpp:41)
==21236==    by 0x42443B: WTR::TestController::initializeTestPluginDirectory() (TestControllerEfl.cpp:94)
==21236==    by 0x414A6B: WTR::TestController::initialize(int, char const**) (TestController.cpp:313)
==21236==    by 0x414010: WTR::TestController::TestController(int, char const**) (TestController.cpp:98)
==21236==    by 0x42454F: main (main.cpp:51)
Comment 1 Sudarsana Nagineni (babu) 2012-09-12 08:53:33 PDT
Created attachment 163642 [details]
Patch
Comment 2 WebKit Review Bot 2012-09-12 09:41:36 PDT
Comment on attachment 163642 [details]
Patch

Clearing flags on attachment: 163642

Committed r128327: <http://trac.webkit.org/changeset/128327>
Comment 3 WebKit Review Bot 2012-09-12 09:41:39 PDT
All reviewed patches have been landed.  Closing bug.