X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fcommon.c;h=8691d3eb2c67516ba7e89a701a83b0749565998a;hp=93c1ca17169dfbe98d5c6d2b7de45f98adc38128;hb=103f05e098865196fc5f28df51e99b64fd6b5202;hpb=d4547a2861caad836701e70f805f7be68a91272e diff --git a/src/common.c b/src/common.c index 93c1ca17..8691d3eb 100644 --- a/src/common.c +++ b/src/common.c @@ -1073,9 +1073,9 @@ int parse_value (const char *value_orig, value_t *ret_value, int ds_type) } if (value == endptr) { - sfree (value); ERROR ("parse_value: Failed to parse string as %s: %s.", DS_TYPE_TO_STRING (ds_type), value); + sfree (value); return -1; } else if ((NULL != endptr) && ('\0' != *endptr))