[sysprof] profiler: fix leak of error array
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] profiler: fix leak of error array
- Date: Mon, 15 Oct 2018 23:51:40 +0000 (UTC)
commit 4d336a62357cd4284d8a972339f4e23745d33279
Author: Christian Hergert <chergert redhat com>
Date: Mon Oct 15 11:33:48 2018 -0700
profiler: fix leak of error array
lib/profiler/sp-local-profiler.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/lib/profiler/sp-local-profiler.c b/lib/profiler/sp-local-profiler.c
index a4d9e6c..3c3fc50 100644
--- a/lib/profiler/sp-local-profiler.c
+++ b/lib/profiler/sp-local-profiler.c
@@ -251,6 +251,7 @@ sp_local_profiler_finalize (GObject *object)
g_clear_pointer (&priv->sources, g_ptr_array_unref);
g_clear_pointer (&priv->starting, g_ptr_array_unref);
g_clear_pointer (&priv->stopping, g_ptr_array_unref);
+ g_clear_pointer (&priv->failures, g_ptr_array_unref);
g_clear_pointer (&priv->finished_or_failed, g_ptr_array_unref);
g_clear_pointer (&priv->pids, g_array_unref);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]