From: Scott Sanders Date: Mon, 8 Aug 2011 15:00:11 +0000 (-0400) Subject: free name appropriately X-Git-Tag: collectd-5.1.0~35^2~25^2~18 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=cebf25048c288b07e01860af9f9c4a3d48681ea6;p=collectd.git free name appropriately --- diff --git a/write_graphite.c b/write_graphite.c index 420b7855..322b8254 100644 --- a/write_graphite.c +++ b/write_graphite.c @@ -203,6 +203,7 @@ static void wg_callback_free (void *data) /* {{{ */ wg_flush_nolock (/* timeout = */ 0, cb); close(cb->sock_fd); + sfree(cb->name); sfree(cb->host); sfree(cb->prefix);