[gnome-notes] tomboy-reader: Fix a possible memory leak
- From: Isaque Galdino de Araujo <igaldino src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-notes] tomboy-reader: Fix a possible memory leak
- Date: Mon, 1 Feb 2021 00:35:31 +0000 (UTC)
commit 29bcea8b463fb163b2287429f532bd1fa4c68608
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Wed Jan 27 07:13:06 2021 +0530
tomboy-reader: Fix a possible memory leak
src/libbiji/deserializer/biji-tomboy-reader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libbiji/deserializer/biji-tomboy-reader.c b/src/libbiji/deserializer/biji-tomboy-reader.c
index c335253..efd6967 100644
--- a/src/libbiji/deserializer/biji-tomboy-reader.c
+++ b/src/libbiji/deserializer/biji-tomboy-reader.c
@@ -436,7 +436,7 @@ biji_tomboy_reader_finalize (GObject *object)
g_string_free (self->raw_text, TRUE);
g_string_free (self->html, TRUE);
-
+ g_clear_error (&self->error);
xmlFreeTextReader (self->r);
xmlFreeTextReader (self->inner);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]