[epiphany] uri-tester: Fix uninitialized memory use when DNT mode is disabled
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] uri-tester: Fix uninitialized memory use when DNT mode is disabled
- Date: Mon, 21 Nov 2016 19:48:52 +0000 (UTC)
commit a5dadf8970eb350762f26f4b8df1855dae159bc6
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Nov 21 13:48:17 2016 -0600
uri-tester: Fix uninitialized memory use when DNT mode is disabled
embed/ephy-uri-tester.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-uri-tester.c b/embed/ephy-uri-tester.c
index 07b1a0b..175dbbd 100644
--- a/embed/ephy-uri-tester.c
+++ b/embed/ephy-uri-tester.c
@@ -851,7 +851,7 @@ ephy_uri_tester_rewrite_uri (EphyUriTester *tester,
const char *request_uri,
const char *page_uri)
{
- char *modified_uri;
+ char *modified_uri = NULL;
char *result;
/* Should we block the URL outright? */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]