aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2011-12-15 08:07:27 +0800
committerXan Lopez <xan@igalia.com>2011-12-15 08:07:27 +0800
commit7754542318967d984b563975110a5c3b7873db2e (patch)
tree11cf8225cbc87f75b592c4fd5fe6becf62d0c1cb
parent15a693dd485ebdf6098387b4729174fab2055c99 (diff)
downloadgsoc2013-epiphany-7754542318967d984b563975110a5c3b7873db2e.tar
gsoc2013-epiphany-7754542318967d984b563975110a5c3b7873db2e.tar.gz
gsoc2013-epiphany-7754542318967d984b563975110a5c3b7873db2e.tar.bz2
gsoc2013-epiphany-7754542318967d984b563975110a5c3b7873db2e.tar.lz
gsoc2013-epiphany-7754542318967d984b563975110a5c3b7873db2e.tar.xz
gsoc2013-epiphany-7754542318967d984b563975110a5c3b7873db2e.tar.zst
gsoc2013-epiphany-7754542318967d984b563975110a5c3b7873db2e.zip
ephy-web-view: plug leak
==16675== 83 (64 direct, 19 indirect) bytes in 1 blocks are definitely lost in loss record 10,060 of 13,509 ==16675== at 0x4A074CD: malloc (vg_replace_malloc.c:236) ==16675== by 0x70C6F17: standard_malloc (gmem.c:85) ==16675== by 0x70C6FA0: g_malloc (gmem.c:159) ==16675== by 0x70DE86C: g_slice_alloc (gslice.c:1003) ==16675== by 0x70DE8AB: g_slice_alloc0 (gslice.c:1029) ==16675== by 0x6E2873D: soup_uri_new_with_base (soup-uri.c:177) ==16675== by 0x6E29468: soup_uri_new (soup-uri.c:398) ==16675== by 0x47D70F: load_status_cb (ephy-web-view.c:1906)
-rw-r--r--embed/ephy-web-view.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index f4c5c1953..6e4fea23c 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1924,11 +1924,11 @@ load_status_cb (WebKitWebView *web_view,
G_CALLBACK (delete_web_app_cb), false,
NULL);
}
-
- if (uri)
- soup_uri_free (uri);
}
+ if (uri)
+ soup_uri_free (uri);
+
break;
}
case WEBKIT_LOAD_FAILED: