free name appropriately
authorScott Sanders <scott@jssjr.com>
Mon, 8 Aug 2011 15:00:11 +0000 (11:00 -0400)
committerScott Sanders <scott@jssjr.com>
Mon, 8 Aug 2011 15:00:11 +0000 (11:00 -0400)
write_graphite.c

index 420b785..322b825 100644 (file)
@@ -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);