summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pango/json/gtkjsonparser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/json/gtkjsonparser.c b/pango/json/gtkjsonparser.c
index e82d974d..5433d535 100644
--- a/pango/json/gtkjsonparser.c
+++ b/pango/json/gtkjsonparser.c
@@ -996,6 +996,8 @@ gtk_json_parser_free (GtkJsonParser *self)
if (self->blocks != self->blocks_preallocated)
g_free (self->blocks);
+ g_clear_error (&self->error);
+
g_slice_free (GtkJsonParser, self);
}