[gnome-system-monitor/wip/newdesign] Free the memory of cpu color pickers when destroying the loadgraph
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor/wip/newdesign] Free the memory of cpu color pickers when destroying the loadgraph
- Date: Tue, 13 Aug 2013 03:08:59 +0000 (UTC)
commit 30d3a7b21d1d072d25e036cae797988c2e8c4353
Author: Robert Roth <robert roth off gmail com>
Date: Tue Aug 13 00:10:17 2013 +0300
Free the memory of cpu color pickers when destroying the loadgraph
src/load-graph.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/load-graph.cpp b/src/load-graph.cpp
index b8c785d..d574108 100644
--- a/src/load-graph.cpp
+++ b/src/load-graph.cpp
@@ -671,7 +671,7 @@ static gboolean
load_graph_destroy (GtkWidget *widget, gpointer data_ptr)
{
LoadGraph * const graph = static_cast<LoadGraph*>(data_ptr);
-
+ g_list_free (graph->cpu_color_pickers);
delete graph;
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]