aboutsummaryrefslogtreecommitdiff
path: root/src/env/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/env/env.c')
-rw-r--r--src/env/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env/env.c b/src/env/env.c
index 33d12c01e..1a8c1a568 100644
--- a/src/env/env.c
+++ b/src/env/env.c
@@ -68,7 +68,7 @@ GNUNET_ENV_environment_add_mod (struct GNUNET_ENV_Environment *env,
68 enum GNUNET_ENV_Operator oper, const char *name, 68 enum GNUNET_ENV_Operator oper, const char *name,
69 const void *value, size_t value_size) 69 const void *value, size_t value_size)
70{ 70{
71 struct GNUNET_ENV_Modifier *mod = GNUNET_malloc (sizeof (*mod)); 71 struct GNUNET_ENV_Modifier *mod = GNUNET_new (struct GNUNET_ENV_Modifier);
72 mod->oper = oper; 72 mod->oper = oper;
73 mod->name = name; 73 mod->name = name;
74 mod->value = value; 74 mod->value = value;