Steps to reproduce: 1) Create one WebkitWebView, screen resolution 1280*720 2) Load any page 3) desrtoy WebkitWebView 4) Repeat steps 1-3 several times. Actual Results: Memory will be increase on ~7 mb after destroying. Expected Results: No memory growing here. Build Date & Platform: Build 2013-01-17 on Ubuntu 12.04.
Created attachment 183165 [details] Patch
Attachment 183165 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/platform/cairo/WidgetBackingStoreCairo.cpp:38: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 183386 [details] Patch
Comment on attachment 183386 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=183386&action=review > Source/WebCore/ChangeLog:11 > + No new tests, there is platform memory leak. > + > + Created cairo surface never then deleted, cause of factory method > + createSurfaceForBackingStore for GTK backend returns incorrect refered PassRefPtr value. "No new test" usually goes after the change description, which could use some rewording, I think. Something like "Make createSurfaceForBackingStore return a smart pointer in all supported build configurations to avoid a memory leak"
Created attachment 183630 [details] Patch
Comment on attachment 183630 [details] Patch Thanks!
Comment on attachment 183630 [details] Patch Clearing flags on attachment: 183630 Committed r140325: <http://trac.webkit.org/changeset/140325>
All reviewed patches have been landed. Closing bug.