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 89400

This commit is contained in:
Peter Howkins 2018-07-02 20:45:22 +01:00
parent 415964d433
commit 39f2c08b94

View file

@ -521,7 +521,7 @@ WmFrontPanelSessionSaveData (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;