]> arthur.barton.de Git - netdata.git/blobdiff - src/plugin_tc.c
do not leak memory on exit
[netdata.git] / src / plugin_tc.c
index 83ab23731f893de40da135e4c2cfc40fa0458636..dd4a3d27d5cfeca01e27f925c50f64876327dced 100644 (file)
@@ -1016,7 +1016,6 @@ cleanup:
     info("TC thread exiting");
 
     static_thread->enabled = 0;
-    static_thread->thread = NULL;
     pthread_exit(NULL);
     return NULL;
 }