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 88325

This commit is contained in:
Peter Howkins 2018-07-02 20:40:04 +01:00
parent 152a655ce3
commit 3aec9bfead

View file

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