[gnome-builder] xml-parser: free ParserState with g_slice_free()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] xml-parser: free ParserState with g_slice_free()
- Date: Wed, 21 Mar 2018 22:05:29 +0000 (UTC)
commit 1977f0053a731cfeb99128ad54178e88ea4bbf7e
Author: Christian Hergert <chergert redhat com>
Date: Wed Mar 21 15:05:02 2018 -0700
xml-parser: free ParserState with g_slice_free()
src/plugins/xml-pack/ide-xml-parser.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/xml-pack/ide-xml-parser.c b/src/plugins/xml-pack/ide-xml-parser.c
index e1902c570..77f2d6c61 100644
--- a/src/plugins/xml-pack/ide-xml-parser.c
+++ b/src/plugins/xml-pack/ide-xml-parser.c
@@ -74,6 +74,8 @@ parser_state_free (ParserState *state)
g_clear_pointer (&state->content, g_bytes_unref);
g_clear_pointer (&state->schemas, g_array_unref);
+
+ g_slice_free (ParserState, state);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]