evince/0001-ev-window-title-Avoid-a-crash-caused-by-double-free.patch
2023-03-14 12:12:28 +01:00

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