[epiphany] Fix invalid free of lowercase_host
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Fix invalid free of lowercase_host
- Date: Thu, 20 Dec 2018 00:12:13 +0000 (UTC)
commit 0599136b5d1880ec57dd46efc02fe4624bb1cd4a
Author: Michael Catanzaro <mcatanzaro posteo net>
Date: Thu Dec 20 00:12:02 2018 +0000
Fix invalid free of lowercase_host
This was introduced in fdb131cbfded9c49d24d5ef33d926a870cd9145c.
embed/ephy-embed-utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/embed/ephy-embed-utils.c b/embed/ephy-embed-utils.c
index 52ed15c41..be9389630 100644
--- a/embed/ephy-embed-utils.c
+++ b/embed/ephy-embed-utils.c
@@ -308,7 +308,7 @@ static char *
ensure_host_name_is_lowercase (const char *address)
{
g_autofree gchar *host = ephy_string_get_host_name (address);
- g_autofree gchar *lowercase_host;
+ g_autofree gchar *lowercase_host = NULL;
char *ret = NULL;
if (host == NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]