projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
table: Fix use of uninitialized data.
[pspp]
/
src
/
output
/
table.c
diff --git
a/src/output/table.c
b/src/output/table.c
index f0f95b8669da6e7de4c8c16092506ec5d36b0e0c..523a5ea75ab1243d1a33a3117567c3a22771fe28 100644
(file)
--- a/
src/output/table.c
+++ b/
src/output/table.c
@@
-270,7
+270,7
@@
table_create (int nc, int nr, int hl, int hr, int ht, int hb)
.cc = pool_calloc (pool, nr * nc, sizeof *t->cc),
.cp = pool_calloc (pool, nr * nc, sizeof *t->cp),
.rh = pool_calloc (pool, nc, nr + 1),
- .rv = pool_
nm
alloc (pool, nr, nc + 1),
+ .rv = pool_
c
alloc (pool, nr, nc + 1),
};
return t;
}