Changeset 128327 in webkit
- Timestamp:
- Sep 12, 2012 9:41:58 AM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r128326 r128327 1 2012-09-12 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> 2 3 [EFL] [WK2] Memory leaks in TestControllerEfl 4 https://bugs.webkit.org/show_bug.cgi?id=96525 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Fix memory leaks in EFL's TestRunner code by adopting an allocation 9 of WKString created with WKStringCreateWithUTF8CString(). 10 11 * WebKitTestRunner/efl/TestControllerEfl.cpp: 12 (WTR::TestController::initializeInjectedBundlePath): 13 (WTR::TestController::initializeTestPluginDirectory): 14 1 15 2012-09-12 Christophe Dumez <christophe.dumez@intel.com> 2 16 -
trunk/Tools/WebKitTestRunner/efl/TestControllerEfl.cpp
r123643 r128327 86 86 { 87 87 const char* bundlePath = getEnvironmentVariableOrExit("TEST_RUNNER_INJECTED_BUNDLE_FILENAME"); 88 m_injectedBundlePath = WKStringCreateWithUTF8CString(bundlePath);88 m_injectedBundlePath.adopt(WKStringCreateWithUTF8CString(bundlePath)); 89 89 } 90 90 … … 92 92 { 93 93 const char* pluginPath = getEnvironmentVariableOrExit("TEST_RUNNER_PLUGIN_PATH"); 94 m_testPluginDirectory = WKStringCreateWithUTF8CString(pluginPath);94 m_testPluginDirectory.adopt(WKStringCreateWithUTF8CString(pluginPath)); 95 95 } 96 96
Note: See TracChangeset
for help on using the changeset viewer.