X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmatch_empty_counter.c;h=4a5dc8c06680180b75de83fcf2248e92b52d80c7;hb=1ebf2f31;hp=e30ff91bc7f17e6a9983a9215e53497ea8c78794;hpb=82c9b0daf5ff90d01f4a4371f11727cd613e4b01;p=collectd.git diff --git a/src/match_empty_counter.c b/src/match_empty_counter.c index e30ff91b..4a5dc8c0 100644 --- a/src/match_empty_counter.c +++ b/src/match_empty_counter.c @@ -46,7 +46,7 @@ static int mec_create (const oconfig_item_t *ci, void **user_data) /* {{{ */ { mec_match_t *m; - m = (mec_match_t *) malloc (sizeof (*m)); + m = malloc (sizeof (*m)); if (m == NULL) { ERROR ("mec_create: malloc failed.");