projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace numerous instances of xzalloc with XZALLOC
[pspp]
/
src
/
ui
/
gui
/
psppire-import-textfile.c
diff --git
a/src/ui/gui/psppire-import-textfile.c
b/src/ui/gui/psppire-import-textfile.c
index 5ef83fcd2a3e63e216c870446df3a67c029d84fe..eedc21a082d4d6dee0e451c6acf0b6ad6ff328a3 100644
(file)
--- a/
src/ui/gui/psppire-import-textfile.c
+++ b/
src/ui/gui/psppire-import-textfile.c
@@
-120,7
+120,7
@@
choose_likely_separators (PsppireImportAssistant *ia)
if (cn == NULL)
{
if (cn == NULL)
{
- struct separator_count_node *new_cn =
xzalloc (sizeof *new_cn
);
+ struct separator_count_node *new_cn =
XZALLOC (struct separator_count_node
);
new_cn->occurance = counts[j];
new_cn->quantity = 1;
hmap_insert (&count_map[j], &new_cn->node, hash);
new_cn->occurance = counts[j];
new_cn->quantity = 1;
hmap_insert (&count_map[j], &new_cn->node, hash);