X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmatch_value.c;h=9b13aa86155ac3051fdc2de8f58a78c4e81f743c;hb=72f3b390dff512e8d891aff6f3fba9ecaeaf970c;hp=9ffcecaae473b9bc24b49d721e5b2914ae4bcfbe;hpb=a82395b57384541152423862bcf44c0db7789641;p=collectd.git diff --git a/src/match_value.c b/src/match_value.c index 9ffcecaa..9b13aa86 100644 --- 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.");