aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-09-20 02:25:22 +0800
committerXan Lopez <xan@gnome.org>2009-09-20 02:25:22 +0800
commit0fa8e2fb6780e75923da248bb5d94e30d8556dd7 (patch)
tree26c49aae8d7c0990ba55b6cd61e19ff113455bdc
parent33d34d15b4db507b233946bfdb9829ccc4287262 (diff)
downloadgsoc2013-epiphany-0fa8e2fb6780e75923da248bb5d94e30d8556dd7.tar
gsoc2013-epiphany-0fa8e2fb6780e75923da248bb5d94e30d8556dd7.tar.gz
gsoc2013-epiphany-0fa8e2fb6780e75923da248bb5d94e30d8556dd7.tar.bz2
gsoc2013-epiphany-0fa8e2fb6780e75923da248bb5d94e30d8556dd7.tar.lz
gsoc2013-epiphany-0fa8e2fb6780e75923da248bb5d94e30d8556dd7.tar.xz
gsoc2013-epiphany-0fa8e2fb6780e75923da248bb5d94e30d8556dd7.tar.zst
gsoc2013-epiphany-0fa8e2fb6780e75923da248bb5d94e30d8556dd7.zip
ephy-window.c: do not leak hit test result
-rw-r--r--src/ephy-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index b0d6d4a95..888d14f89 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2323,6 +2323,7 @@ ephy_window_dom_mouse_click_cb (WebKitWebView *view,
button = event->button;
modifier = event->state;
g_object_get (hit_test_result, "context", &context, NULL);
+ g_object_unref (hit_test_result);
LOG ("ephy_window_dom_mouse_click_cb: button %d, context %d, modifier %d (%d:%d)",
button, context, modifier, (int)event->x, (int)event->y);