[epiphany/mcatanzaro/#1612: 5/13] pdf-handler: fix a leak
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/#1612: 5/13] pdf-handler: fix a leak
- Date: Wed, 15 Dec 2021 19:30:58 +0000 (UTC)
commit df7c20b578e2adac7c00f4dfcdb8aad54ad6e98d
Author: Michael Catanzaro <mcatanzaro redhat com>
Date: Tue Dec 14 16:45:53 2021 -0600
pdf-handler: fix a leak
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1045>
embed/ephy-pdf-handler.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/embed/ephy-pdf-handler.c b/embed/ephy-pdf-handler.c
index 871d2487a..da10b7e02 100644
--- a/embed/ephy-pdf-handler.c
+++ b/embed/ephy-pdf-handler.c
@@ -121,7 +121,7 @@ pdf_file_loaded (GObject *source,
gpointer user_data)
{
EphyPdfRequest *self = user_data;
- GBytes *html_file;
+ g_autoptr (GBytes) html_file = NULL;
g_autoptr (GError) error = NULL;
g_autoptr (GString) html = NULL;
g_autofree gchar *b64 = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]