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:
parent
1f15522c59
commit
415964d433
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ SessionRestoreData (void)
|
||||||
max_subpanel_count += 10;
|
max_subpanel_count += 10;
|
||||||
subpanel_data = (SubpanelData **)
|
subpanel_data = (SubpanelData **)
|
||||||
XtRealloc ((char *) subpanel_data,
|
XtRealloc ((char *) subpanel_data,
|
||||||
sizeof (SubpanelData **) * max_subpanel_count);
|
sizeof (SubpanelData *) * max_subpanel_count);
|
||||||
}
|
}
|
||||||
|
|
||||||
subpanel_data[subpanel_count] = control_data->subpanel_data;
|
subpanel_data[subpanel_count] = control_data->subpanel_data;
|
||||||
|
|
Loading…
Reference in a new issue