[gnome-builder/gnome-builder-42] libide/lsp: fix incorrect autotpr usage



commit df2057dd34ef72918cc6163528010ddecb7095bd
Author: Christian Hergert <chergert redhat com>
Date:   Mon Apr 25 14:47:40 2022 -0700

    libide/lsp: fix incorrect autotpr usage

 src/libide/lsp/ide-lsp-completion-provider.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/lsp/ide-lsp-completion-provider.c b/src/libide/lsp/ide-lsp-completion-provider.c
index 8c4b1ad6d..3f1e80792 100644
--- a/src/libide/lsp/ide-lsp-completion-provider.c
+++ b/src/libide/lsp/ide-lsp-completion-provider.c
@@ -416,7 +416,7 @@ ide_lsp_completion_provider_activate_proposal (IdeCompletionProvider *provider,
   GtkTextBuffer *buffer;
   GtkTextView *view;
   GtkTextIter begin, end;
-  g_autoptr(GPtrArray) additional_text_edits;
+  g_autoptr(GPtrArray) additional_text_edits = NULL;
   IdeBufferManager *buffer_manager;
   const gchar *text = NULL;
 


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