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
/
data
/
dictionary.c
diff --git
a/src/data/dictionary.c
b/src/data/dictionary.c
index 9c73e0ea442229bbaa25ad1181ab5d405812e31d..ab4642a4da493c536b499a60e71479cbb14f7670 100644
(file)
--- a/
src/data/dictionary.c
+++ b/
src/data/dictionary.c
@@
-250,7
+250,7
@@
dict_copy_callbacks (struct dictionary *dest,
struct dictionary *
dict_create (const char *encoding)
{
- struct dictionary *d =
xzalloc (sizeof *d
);
+ struct dictionary *d =
XZALLOC (struct dictionary
);
d->encoding = xstrdup (encoding);
d->names_must_be_ids = true;