From e0ca7357cd0bfedc5c29cb731b56279fef8da059 Mon Sep 17 00:00:00 2001 From: LRN Date: Thu, 19 Dec 2013 06:00:23 +0000 Subject: malloc -> new --- src/regex/gnunet-regex-simulation-profiler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '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 fdbc918c2..4b3cf5bcd 100644 --- 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; -- cgit v1.2.3