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 88247

This commit is contained in:
Peter Howkins 2018-07-02 20:35:57 +01:00
parent 9b4e0270a3
commit 20135bf9e7

View file

@ -617,7 +617,7 @@ WorkspaceModifyCB (Widget w,
switch_data->buttons =
(Widget *) XtRealloc ((char *) switch_data->buttons,
sizeof (Widget *) * switch_data->switch_count);
sizeof (Widget) * switch_data->switch_count);
SwitchButtonCreate (switch_data, True);