From: Peter Howkins Date: Mon, 2 Jul 2018 19:42:37 +0000 (+0100) Subject: dtwm: Coverity 88540 X-Git-Tag: 2.3.0a~266 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1f15522c59e7cb3667fb8c6110378ae023e0a8bf;p=oweals%2Fcde.git dtwm: Coverity 88540 --- diff --git a/cde/programs/dtwm/Session.c b/cde/programs/dtwm/Session.c index 71c31764..54a85b7b 100644 --- a/cde/programs/dtwm/Session.c +++ b/cde/programs/dtwm/Session.c @@ -655,7 +655,7 @@ SessionAddFileData (char * file_name, panel.max_dynamic_data_count += 10; panel.dynamic_data_list = (DynamicComponent **) XtRealloc ((char *) panel.dynamic_data_list, - sizeof (DynamicComponent **) * panel.max_dynamic_data_count); + sizeof (DynamicComponent *) * panel.max_dynamic_data_count); } panel.dynamic_data_list[count] =