/pidgin/main: d6de39919ac3: Fix leak of the WebKitHitTestResult.

Elliott Sales de Andrade qulogic at pidgin.im
Mon Nov 5 18:15:57 EST 2012


Changeset: d6de39919ac36f2c33847767762677db8eb9de0d
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2012-09-10 01:37 -0400
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/d6de39919ac3

Description:

Fix leak of the WebKitHitTestResult.

diffstat:

 pidgin/gtkwebview.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff --git a/pidgin/gtkwebview.c b/pidgin/gtkwebview.c
--- a/pidgin/gtkwebview.c
+++ b/pidgin/gtkwebview.c
@@ -1143,6 +1143,7 @@ webview_button_pressed(WebKitWebView *we
 		              node, uri);
 
 		g_free(uri);
+		g_object_unref(hit);
 
 		return TRUE;
 	}



More information about the Commits mailing list