[gnome-builder/gnome-builder-3-28] xml-pack: free matching state struct
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-28] xml-pack: free matching state struct
- Date: Tue, 19 Jun 2018 00:13:39 +0000 (UTC)
commit 8c3b2d4cb5463cd4098d234a7b09c1506091d46c
Author: Christian Hergert <chergert redhat com>
Date: Mon Jun 18 17:12:51 2018 -0700
xml-pack: free matching state struct
src/plugins/xml-pack/ide-xml-completion-provider.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/xml-pack/ide-xml-completion-provider.c
b/src/plugins/xml-pack/ide-xml-completion-provider.c
index da09c22c3..808682b50 100644
--- a/src/plugins/xml-pack/ide-xml-completion-provider.c
+++ b/src/plugins/xml-pack/ide-xml-completion-provider.c
@@ -461,6 +461,8 @@ matching_state_free (MatchingState *state)
g_clear_pointer (&state->prefix, g_free);
g_clear_pointer (&state->children, g_ptr_array_unref);
g_clear_pointer (&state->stack, g_array_unref);
+
+ g_slice_free (MatchingState, state);
}
static MatchingState *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]