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_value.c
diff --git
a/src/match_value.c
b/src/match_value.c
index
9ffceca
..
9b13aa8
100644
(file)
--- a/
src/match_value.c
+++ b/
src/match_value.c
@@
-200,7
+200,7
@@
static int mv_create (const oconfig_item_t *ci, void **user_data) /* {{{ */
int status;
int i;
- m =
(mv_match_t *)
malloc (sizeof (*m));
+ m = malloc (sizeof (*m));
if (m == NULL)
{
ERROR ("mv_create: malloc failed.");