Changeset 167113 in webkit


Ignore:
Timestamp:
Apr 10, 2014 10:23:42 PM (10 years ago)
Author:
mitz@apple.com
Message:

BundlePageDiagnosticLoggingClient leaks every string passing through it.
https://bugs.webkit.org/show_bug.cgi?id=130140

Reviewed by Brent Fulgham.

  • WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp:

(WebKit::InjectedBundlePageDiagnosticLoggingClient::logDiagnosticMessage): Don’t copy the
strings passed into the bundle client.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r167110 r167113  
     12014-04-10  Dan Bernstein  <mitz@apple.com>
     2
     3        BundlePageDiagnosticLoggingClient leaks every string passing through it.
     4        https://bugs.webkit.org/show_bug.cgi?id=130140
     5
     6        Reviewed by Brent Fulgham.
     7
     8        * WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp:
     9        (WebKit::InjectedBundlePageDiagnosticLoggingClient::logDiagnosticMessage): Don’t copy the
     10        strings passed into the bundle client.
     11
    1122014-04-10  Benjamin Poulain  <bpoulain@apple.com>
    213
  • trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp

    r165492 r167113  
    3636    if (!m_client.logDiagnosticMessage)
    3737        return;
    38     m_client.logDiagnosticMessage(toAPI(page), toCopiedAPI(message), toCopiedAPI(description), toCopiedAPI(success), m_client.base.clientInfo);
     38    m_client.logDiagnosticMessage(toAPI(page), toAPI(message.impl()), toAPI(description.impl()), toAPI(success.impl()), m_client.base.clientInfo);
    3939}
    4040
Note: See TracChangeset for help on using the changeset viewer.