From 415964d43364c8a131f028378e28d5a8c2056d56 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 2 Jul 2018 20:43:50 +0100 Subject: [PATCH] dtwm: Coverity 89124 --- 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 54a85b7b..3c51b0ad 100644 --- a/cde/programs/dtwm/Session.c +++ b/cde/programs/dtwm/Session.c @@ -180,7 +180,7 @@ SessionRestoreData (void) max_subpanel_count += 10; subpanel_data = (SubpanelData **) XtRealloc ((char *) subpanel_data, - sizeof (SubpanelData **) * max_subpanel_count); + sizeof (SubpanelData *) * max_subpanel_count); } subpanel_data[subpanel_count] = control_data->subpanel_data; -- 2.25.1