Changeset 62159 in webkit


Ignore:
Timestamp:
Jun 29, 2010 8:46:11 PM (14 years ago)
Author:
Laszlo Gombos
Message:

2010-06-29 Abhinav Mithal <abhinav.mithal@nokia.com>

Reviewed by Laszlo Gombos.

[Qt] [Symbian] Fix doube-deallocation while destroying PluginContainerSymbian
https://bugs.webkit.org/show_bug.cgi?id=37303

  • plugins/symbian/PluginViewSymbian.cpp: (WebCore::PluginView::platformDestroy):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r62158 r62159  
     12010-06-29  Abhinav Mithal <abhinav.mithal@nokia.com>
     2
     3        Reviewed by Laszlo Gombos.
     4
     5        [Qt] [Symbian] Fix doube-deallocation while destroying PluginContainerSymbian
     6        https://bugs.webkit.org/show_bug.cgi?id=37303
     7
     8        * plugins/symbian/PluginViewSymbian.cpp:
     9        (WebCore::PluginView::platformDestroy):
     10
    1112010-06-29  Zhenyao Mo  <zmo@google.com>
    212
  • trunk/WebCore/plugins/symbian/PluginViewSymbian.cpp

    r58821 r62159  
    419419    if (platformPluginWidget()) {
    420420        PluginContainerSymbian* container = static_cast<PluginContainerSymbian*>(platformPluginWidget());
    421         delete container->proxy();
    422         delete container;
     421        if (container && container->proxy())
     422            delete container->proxy();
     423        else
     424            delete container;
    423425    }
    424426}
Note: See TracChangeset for help on using the changeset viewer.