X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Fbackend%2Fcollectd%2Funixsock.c;fp=src%2Fbackend%2Fcollectd%2Funixsock.c;h=6fc2ef901176bf82c34b9b275623a7b84a0c8977;hp=0c5082af54c0b9ca99a95ef8fea295ffeeae1e3b;hb=0fba5d264e239b970601ec8cf087b3027db9f48a;hpb=95151b82610bd542d27b5372503f9afffaccd859 diff --git a/src/backend/collectd/unixsock.c b/src/backend/collectd/unixsock.c index 0c5082a..6fc2ef9 100644 --- a/src/backend/collectd/unixsock.c +++ b/src/backend/collectd/unixsock.c @@ -270,6 +270,7 @@ sdb_collectd_collect(sdb_object_t *user_data) "%i service%s (%i failed) for host '%s'.", state.svc_updated, state.svc_updated == 1 ? "" : "s", state.svc_failed, state.current_host); + free(state.current_host); } return 0; } /* sdb_collectd_collect */