diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-01-14 22:21:44 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-01-14 22:21:44 +0200 |
commit | 6aa95090b14992d23d36b4e0247bcc265becf732 (patch) | |
tree | c5e28f22f6dd0a1776aa5d69aaff67c20b392ee5 /src/plugin_proc_diskspace.c | |
parent | 97dc47efa3c29266bc1a295485fa8b5cc280b31e (diff) |
do not leak memory on exit
Diffstat (limited to 'src/plugin_proc_diskspace.c')
-rw-r--r-- | src/plugin_proc_diskspace.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugin_proc_diskspace.c b/src/plugin_proc_diskspace.c index f8b6c814cc..eb6da1f36c 100644 --- a/src/plugin_proc_diskspace.c +++ b/src/plugin_proc_diskspace.c @@ -280,7 +280,6 @@ void *proc_diskspace_main(void *ptr) { info("DISKSPACE thread exiting"); static_thread->enabled = 0; - static_thread->thread = NULL; pthread_exit(NULL); return NULL; } |