aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-daemon-fsprofiler.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-25 21:42:11 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-25 21:42:11 +0000
commit78ad97319349e9881653684f276dd620a0a423e9 (patch)
treecded8f0063f6848429706a36bd51174e62417b7e /src/fs/gnunet-daemon-fsprofiler.c
parentb968c5926b205c3cdd467474753746ef21522b32 (diff)
downloadgnunet-78ad97319349e9881653684f276dd620a0a423e9.tar.gz
gnunet-78ad97319349e9881653684f276dd620a0a423e9.zip
-misc fixes based on cppcheck
Diffstat (limited to 'src/fs/gnunet-daemon-fsprofiler.c')
-rw-r--r--src/fs/gnunet-daemon-fsprofiler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/gnunet-daemon-fsprofiler.c b/src/fs/gnunet-daemon-fsprofiler.c
index 30a127559..a19fa1ef6 100644
--- a/src/fs/gnunet-daemon-fsprofiler.c
+++ b/src/fs/gnunet-daemon-fsprofiler.c
@@ -186,7 +186,7 @@ parse_pattern (struct Pattern **head,
186 "(%llu,%llu,%llu)", 186 "(%llu,%llu,%llu)",
187 &x, &y, &t)) 187 &x, &y, &t))
188 { 188 {
189 p = GNUNET_malloc (sizeof (struct Pattern)); 189 p = GNUNET_new (struct Pattern);
190 p->x = x; 190 p->x = x;
191 p->y = y; 191 p->y = y;
192 p->delay.rel_value_us = (uint64_t) t; 192 p->delay.rel_value_us = (uint64_t) t;