aboutsummaryrefslogtreecommitdiffstats
path: root/ui/proto_hier_stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/proto_hier_stats.c')
-rw-r--r--ui/proto_hier_stats.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/proto_hier_stats.c b/ui/proto_hier_stats.c
index 3275e16453..5722a264d8 100644
--- a/ui/proto_hier_stats.c
+++ b/ui/proto_hier_stats.c
@@ -345,10 +345,7 @@ static gboolean
stat_node_free(GNode *node, gpointer data _U_)
{
ph_stats_node_t *stats = (ph_stats_node_t *)node->data;
-
- if (stats) {
- g_free(stats);
- }
+ g_free(stats);
return FALSE;
}