projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: cleanup malloc calls
[collectd.git]
/
src
/
match_timediff.c
diff --git
a/src/match_timediff.c
b/src/match_timediff.c
index
996201a
..
2b5f530
100644
(file)
--- a/
src/match_timediff.c
+++ b/
src/match_timediff.c
@@
-52,7
+52,7
@@
static int mt_create (const oconfig_item_t *ci, void **user_data) /* {{{ */
int status;
int i;
- m =
(mt_match_t *)
malloc (sizeof (*m));
+ m = malloc (sizeof (*m));
if (m == NULL)
{
ERROR ("mt_create: malloc failed.");