[GTK] [WK2] Memory leaks in TestWebKitFindController
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Aug 2012 00:18:39 +0000 (00:18 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Aug 2012 00:18:39 +0000 (00:18 +0000)
commit983a7e7ac3c5b6a7324e334eeae560733d314fb6
tree28f3c259fd36ddb88245776c902a4f5bbe386ebd
parent245767008c7524f71d1971a7aec901953763f534
[GTK] [WK2] Memory leaks in TestWebKitFindController
https://bugs.webkit.org/show_bug.cgi?id=94627

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

Fix memory leaks in TestWebKitFindController by using adoptGRef
instead of just getting new reference of GdkPixbuf.

* UIProcess/API/gtk/tests/TestWebKitFindController.cpp:
(testFindControllerHide):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@126231 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitFindController.cpp