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_hashed.c
diff --git
a/src/match_hashed.c
b/src/match_hashed.c
index
ba0c47c
..
049dd28
100644
(file)
--- a/
src/match_hashed.c
+++ b/
src/match_hashed.c
@@
-101,7
+101,7
@@
static int mh_create (const oconfig_item_t *ci, void **user_data) /* {{{ */
mh_match_t *m;
int i;
- m =
(mh_match_t *)
malloc (sizeof (*m));
+ m = malloc (sizeof (*m));
if (m == NULL)
{
ERROR ("mh_create: malloc failed.");