[gnome-builder] diagnostician: use proper free func for empty diagnostics



commit a7f0972864db7a51a6d6470a87c61f931abe35ee
Author: Christian Hergert <christian hergert me>
Date:   Thu May 14 04:25:08 2015 -0700

    diagnostician: use proper free func for empty diagnostics

 libide/ide-diagnostician.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-diagnostician.c b/libide/ide-diagnostician.c
index f8c6efa..a9bc26a 100644
--- a/libide/ide-diagnostician.c
+++ b/libide/ide-diagnostician.c
@@ -130,7 +130,7 @@ ide_diagnostician_diagnose_async (IdeDiagnostician    *self,
     {
       g_task_return_pointer (task,
                              _ide_diagnostics_new (NULL),
-                             (GDestroyNotify)g_ptr_array_unref);
+                             (GDestroyNotify)ide_diagnostics_unref);
       return;
     }
 


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