From: Peter Howkins Date: Mon, 2 Jul 2018 19:40:04 +0000 (+0100) Subject: dtwm: Coverity 88325 X-Git-Tag: 2.3.0a~267 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3aec9bfeadc6a3b0ee9140c8194ff52dc0b0ea08;p=oweals%2Fcde.git dtwm: Coverity 88325 --- 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;