projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix for coverity
[oweals/gnunet.git]
/
src
/
regex
/
gnunet-regex-simulation-profiler.c
diff --git
a/src/regex/gnunet-regex-simulation-profiler.c
b/src/regex/gnunet-regex-simulation-profiler.c
index fdbc918c205810c5d53e6c812c7f8999316b89bf..4b3cf5bcd02ceb04354b2134b9962ca7c62fe163 100644
(file)
--- a/
src/regex/gnunet-regex-simulation-profiler.c
+++ b/
src/regex/gnunet-regex-simulation-profiler.c
@@
-179,7
+179,7
@@
create_meter (unsigned int total, char *start_string, int print)
{
struct ProgressMeter *ret;
- ret = GNUNET_
malloc (sizeof (struct ProgressMeter)
);
+ ret = GNUNET_
new (struct ProgressMeter
);
ret->print = print;
ret->total = total;
ret->modnum = total / 4;