Code

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 420b78558ea1f1f45f377f876638a6b91a7eb4e9..322b8254accd2d6556c9102c3460ec65b49ba84b 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);