[epiphany/gnome-3-34] Fix crash in about:memory
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-34] Fix crash in about:memory
- Date: Wed, 26 Feb 2020 21:32:33 +0000 (UTC)
commit 606db9aec9a93bc8db69881634bc5eca9365b52d
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Thu Feb 20 21:06:48 2020 +0000
Fix crash in about:memory
Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/1115
(cherry picked from commit 664efd351760bb9780ec1540b02358f899ec2e19)
lib/ephy-smaps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/ephy-smaps.c b/lib/ephy-smaps.c
index 41140e0be..b6c73cffe 100644
--- a/lib/ephy-smaps.c
+++ b/lib/ephy-smaps.c
@@ -252,7 +252,7 @@ static void ephy_smaps_pid_to_html (EphySMaps *smaps,
goto out;
g_regex_match (smaps->detail, line, 0, &match_info);
- if (g_match_info_matches (match_info)) {
+ if (vma && g_match_info_matches (match_info)) {
char *name = g_match_info_fetch (match_info, 1);
char **size = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]