diff options
author | Dan Vrátil <dvratil@redhat.com> | 2012-06-15 22:49:26 +0800 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2012-06-18 19:42:39 +0800 |
commit | 88a372b27e655eaaa27e7b806a1adc360b1583b6 (patch) | |
tree | ddefa0742eee8d25137ee4d1e911e2e94565aa37 /widgets | |
parent | 0c2a0824be34b35528b261220d6703b33f5d868c (diff) | |
download | gsoc2013-evolution-88a372b27e655eaaa27e7b806a1adc360b1583b6.tar gsoc2013-evolution-88a372b27e655eaaa27e7b806a1adc360b1583b6.tar.gz gsoc2013-evolution-88a372b27e655eaaa27e7b806a1adc360b1583b6.tar.bz2 gsoc2013-evolution-88a372b27e655eaaa27e7b806a1adc360b1583b6.tar.lz gsoc2013-evolution-88a372b27e655eaaa27e7b806a1adc360b1583b6.tar.xz gsoc2013-evolution-88a372b27e655eaaa27e7b806a1adc360b1583b6.tar.zst gsoc2013-evolution-88a372b27e655eaaa27e7b806a1adc360b1583b6.zip |
Fix some memory leaks
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-web-view.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c index 956f721eed..f3728dbd5d 100644 --- a/widgets/misc/e-web-view.c +++ b/widgets/misc/e-web-view.c @@ -937,6 +937,8 @@ web_view_button_press_event (GtkWidget *widget, break; } } + + g_object_unref (test); } if (event != NULL && event->button != 3) @@ -1062,6 +1064,7 @@ web_view_extract_uri (EWebView *web_view, WEBKIT_WEB_VIEW (web_view), event); g_object_get (result, "context", &context, "link-uri", &uri, NULL); + g_object_unref (result); if (context & WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK) return uri; |