[gnome-builder/gnome-builder-3-30] clang: fix incorrect free function while task holds result
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-30] clang: fix incorrect free function while task holds result
- Date: Tue, 26 Feb 2019 02:48:19 +0000 (UTC)
commit 8889598ea8d4fc31ddaf7512dccc077cdbbe7245
Author: Christian Hergert <chergert redhat com>
Date: Mon Feb 25 18:47:56 2019 -0800
clang: fix incorrect free function while task holds result
This had the incorrect free func, but were always taking the result anyway.
src/plugins/clang/ide-clang-diagnostic-provider.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/clang/ide-clang-diagnostic-provider.c
b/src/plugins/clang/ide-clang-diagnostic-provider.c
index a86f54f5e..79ed2823d 100644
--- a/src/plugins/clang/ide-clang-diagnostic-provider.c
+++ b/src/plugins/clang/ide-clang-diagnostic-provider.c
@@ -49,7 +49,7 @@ ide_clang_diagnostic_provider_diagnose_cb (GObject *object,
else
ide_task_return_pointer (task,
g_steal_pointer (&diagnostics),
- (GDestroyNotify) g_ptr_array_unref);
+ (GDestroyNotify) ide_diagnostics_unref);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]