1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtwm: Coverity 89124

This commit is contained in:
Peter Howkins 2018-07-02 20:43:50 +01:00
parent 1f15522c59
commit 415964d433

View file

@ -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;