projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20135bf
)
dtwm: Coverity 88714
author
Peter Howkins
<flibble@users.sf.net>
Mon, 2 Jul 2018 19:37:21 +0000
(20:37 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Mon, 2 Jul 2018 19:37:21 +0000
(20:37 +0100)
cde/programs/dtwm/DataBaseLoad.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtwm/DataBaseLoad.c
b/cde/programs/dtwm/DataBaseLoad.c
index d2a85020e227b668ba00b7f2a4641d5fe551683b..0fe94013c1da4f2571b9884d19c8767ed2df9504 100644
(file)
--- a/
cde/programs/dtwm/DataBaseLoad.c
+++ b/
cde/programs/dtwm/DataBaseLoad.c
@@
-711,7
+711,7
@@
_DtPerfChkpntMsgSend("End Front panel database read");
/* Continue the elimination of unused records */
- name_list = (char **) XtMalloc (sizeof (char *
*
) * 2);
+ name_list = (char **) XtMalloc (sizeof (char *) * 2);
if (switch_count != 0)
name_list[0] = switch1->element_values[SWITCH_NAME].parsed_value;
else