[gnome-builder/gnome-builder-3-28] xml-pack: free completion item



commit 87d73339ca4ab1aba1f72c3cb833ed95d5336426
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jun 18 17:14:40 2018 -0700

    xml-pack: free completion item

 src/plugins/xml-pack/ide-xml-completion-provider.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/xml-pack/ide-xml-completion-provider.c 
b/src/plugins/xml-pack/ide-xml-completion-provider.c
index 808682b50..6d5f1fbe9 100644
--- a/src/plugins/xml-pack/ide-xml-completion-provider.c
+++ b/src/plugins/xml-pack/ide-xml-completion-provider.c
@@ -393,6 +393,7 @@ completion_item_free (CompletionItem *item)
 {
   g_clear_pointer (&item->label, g_free);
   g_clear_pointer (&item->define, ide_xml_rng_define_unref);
+  g_slice_free (CompletionItem, item);
 }
 
 static MatchingState *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]