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:
dd9b5ca
)
dtwm: Coverity 89619
author
Peter Howkins
<flibble@users.sf.net>
Mon, 2 Jul 2018 19:38:46 +0000
(20:38 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Mon, 2 Jul 2018 19:38:46 +0000
(20:38 +0100)
cde/programs/dtwm/DataBaseLoad.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtwm/DataBaseLoad.c
b/cde/programs/dtwm/DataBaseLoad.c
index 0fe94013c1da4f2571b9884d19c8767ed2df9504..c6e9737c3f7881a786b4b89c48b3e679d507e0ea 100644
(file)
--- a/
cde/programs/dtwm/DataBaseLoad.c
+++ b/
cde/programs/dtwm/DataBaseLoad.c
@@
-1300,7
+1300,7
@@
AllocateRecordData (RecordData ** record_data,
*record_data_count += 10;
*record_data = (RecordData *)
XtRealloc ((char *) *record_data,
- sizeof (RecordData
*
) * (*record_data_count));
+ sizeof (RecordData) * (*record_data_count));
}
(*record_data)[*record_count].element_values =