gmond: plug a small leak on exit
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 4 Jul 2015 15:35:03 +0000 (17:35 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 10 Jul 2015 09:22:31 +0000 (11:22 +0200)
src/gmond.c

index 7c9028a..a1fa9ea 100644 (file)
@@ -870,6 +870,7 @@ static void *mc_receive_thread (void *arg) /* {{{ */
     }
   } /* while (mc_receive_thread_loop != 0) */
 
+  free (mc_receive_socket_entries);
   return ((void *) 0);
 } /* }}} void *mc_receive_thread */