修复销毁maat句柄(Maat_burn_feather)时没有释放FieldStat句柄的bug。

This commit is contained in:
zhengchao
2018-11-26 18:41:45 +08:00
parent eddc68eaf0
commit 8a1fe9caf2
3 changed files with 9 additions and 2 deletions

View File

@@ -3576,6 +3576,10 @@ void *thread_rule_monitor(void *arg)
feather->redis_write_ctx=NULL;
pthread_mutex_unlock(&(feather->redis_write_lock));
}
if(feather->stat_on&& feather->stat_handle)
{
FS_stop(&(feather->stat_handle));
}
free(feather);
return NULL;
}