[Webkit-unassigned] [Bug 75463] [EFL][WK2] Add InjectedBundleEfl.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 12 00:47:10 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=75463





--- Comment #8 from Andreas Kling <kling at webkit.org>  2012-01-12 00:47:08 PST ---
(From update of attachment 121989)
View in context: https://bugs.webkit.org/attachment.cgi?id=121989&action=review

> Source/WebKit2/WebProcess/InjectedBundle/efl/InjectedBundleEfl.cpp:42
> +    m_platformBundle = eina_module_new(m_path.utf8().data());
> +    if (!m_platformBundle || !eina_module_load(m_platformBundle)) {
> +        EINA_LOG_CRIT("Error loading the injected bundle: %s", m_path.utf8().data());
> +        return false;

If eina_module_new() is successful but eina_module_load() is not, don't you need to call eina_module_free() before returning?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list