7bcc2201ca
Resolves: #2178016
28 lines
736 B
Diff
28 lines
736 B
Diff
From df8c32e2d90ec3cf7cb9c6369c7defd1ee1121fb Mon Sep 17 00:00:00 2001
|
|
From: Marek Kasik <mkasik@redhat.com>
|
|
Date: Tue, 14 Mar 2023 10:30:35 +0100
|
|
Subject: [PATCH] ev-window-title: Avoid a crash caused by double free
|
|
|
|
Variable "title_header" of ev_window_title_update()
|
|
should not be freed at the end of the function as
|
|
it points to window_title->doc_title.
|
|
---
|
|
shell/ev-window-title.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/shell/ev-window-title.c b/shell/ev-window-title.c
|
|
index 2f754e17..02bd9f1b 100644
|
|
--- a/shell/ev-window-title.c
|
|
+++ b/shell/ev-window-title.c
|
|
@@ -165,7 +165,6 @@ ev_window_title_update (EvWindowTitle *window_title)
|
|
}
|
|
|
|
g_free (title);
|
|
- g_free (title_header);
|
|
}
|
|
|
|
EvWindowTitle *
|
|
--
|
|
2.39.2
|
|
|