chiark
/
gitweb
/
~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NEW etc.: Use NEW at non-formulaic call sites
[secnet]
/
transform-common.h
diff --git
a/transform-common.h
b/transform-common.h
index eea03c6be68b6c20f9fcfe5dcdb6e4db3ab42abb..af62738c9120893761d377beaef09264e6ba6754 100644
(file)
--- a/
transform-common.h
+++ b/
transform-common.h
@@
-80,7
+80,7
@@
typedef uint32_t recvbitmap_type;
#define TRANSFORM_CREATE_CORE \
struct transform_inst *ti; \
-
ti=safe_malloc(sizeof(*ti),"transform_create");
\
+
NEW(ti);
\
/* mlock XXX */ \
ti->ops.st=ti; \
ti->ops.setkey=transform_setkey; \