X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=inline;f=src%2Fmatch_hashed.c;h=049dd28d830b60ec6fb00ed54de011ce5515a9f6;hb=1ebf2f31bd2e080e6f42de640f0a3899a61501c0;hp=ba0c47c3f30275ce422f30b6fa717b0bb0d761cf;hpb=9e5cdde4656070893ecf59c6234af0593bdda1a0;p=collectd.git diff --git a/src/match_hashed.c b/src/match_hashed.c index ba0c47c3..049dd28d 100644 --- 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.");