Changeset 117297 in webkit


Ignore:
Timestamp:
May 16, 2012 9:00:54 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] Memory leak in RenderThemeEfl
https://bugs.webkit.org/show_bug.cgi?id=86609

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-05-16
Reviewed by Martin Robinson.

Fix a memory leak by freeing the cairo surface with
cairo_surface_destroy.

  • platform/efl/RenderThemeEfl.cpp:

(WebCore::RenderThemeEfl::cacheThemePartFlush):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r117296 r117297  
     12012-05-16  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
     2
     3        [EFL] Memory leak in RenderThemeEfl
     4        https://bugs.webkit.org/show_bug.cgi?id=86609
     5
     6        Reviewed by Martin Robinson.
     7
     8        Fix a memory leak by freeing the cairo surface with
     9        cairo_surface_destroy.
     10
     11        * platform/efl/RenderThemeEfl.cpp:
     12        (WebCore::RenderThemeEfl::cacheThemePartFlush):
     13
    1142012-05-16  Alexei Filippov  <alexeif@chromium.org>
    215
  • trunk/Source/WebCore/platform/efl/RenderThemeEfl.cpp

    r116774 r117297  
    277277    for (; itr != end; itr++) {
    278278        struct ThemePartCacheEntry *entry = *itr;
    279         cairo_surface_finish(entry->surface);
     279        cairo_surface_destroy(entry->surface);
    280280        evas_object_del(entry->o);
    281281        ecore_evas_free(entry->ee);
Note: See TracChangeset for help on using the changeset viewer.