c_avl_pick needs to update the 'size' field of the tree when it deletes
[collectd.git] / 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 */