X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fdaemon%2Futils_cache.c;h=76213955ca168dc17c9b01833b15fdd5afe3c517;hb=8c864f5e634118fce2446ebbba96a1cb7ec39dda;hp=7b2f95833576e4ab538e527b375e89ed122e27fd;hpb=24c2f247f6dc5c17b26d715346a380efababb08f;p=collectd.git diff --git a/src/daemon/utils_cache.c b/src/daemon/utils_cache.c index 7b2f9583..76213955 100644 --- a/src/daemon/utils_cache.c +++ b/src/daemon/utils_cache.c @@ -198,6 +198,7 @@ static int uc_insert (const data_set_t *ds, const value_list_t *vl, /* This shouldn't happen. */ ERROR ("uc_insert: Don't know how to handle data source type %i.", ds->ds[i].type); + sfree (key_copy); return (-1); } /* switch (ds->ds[i].type) */ } /* for (i) */