From 3aec9bfeadc6a3b0ee9140c8194ff52dc0b0ea08 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 2 Jul 2018 20:40:04 +0100 Subject: [PATCH] dtwm: Coverity 88325 --- cde/programs/dtwm/Session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/programs/dtwm/Session.c b/cde/programs/dtwm/Session.c index 6c428372..71c31764 100644 --- a/cde/programs/dtwm/Session.c +++ b/cde/programs/dtwm/Session.c @@ -310,7 +310,7 @@ SessionRestoreData (void) if (panel.dynamic_data_count > 0) { panel.dynamic_data_list = (DynamicComponent **) - XtMalloc (sizeof (DynamicComponent **) * panel.max_dynamic_data_count); + XtMalloc (sizeof (DynamicComponent *) * panel.max_dynamic_data_count); } dynamic_data_count = 0; -- 2.25.1