You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2017/12/05 01:22:01 UTC
[trafficserver] branch master updated: Add closedir for dangling
dir pointer
This is an automated email from the ASF dual-hosted git repository.
sorber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new f31d28b Add closedir for dangling dir pointer
f31d28b is described below
commit f31d28bd07e95cba805a9d13a9f00c617402dc12
Author: Evan Zelkowitz <19...@users.noreply.github.com>
AuthorDate: Mon Dec 4 14:13:13 2017 -0700
Add closedir for dangling dir pointer
---
plugins/experimental/system_stats/system_stats.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/plugins/experimental/system_stats/system_stats.c b/plugins/experimental/system_stats/system_stats.c
index 3d4dd62..abb3afb 100644
--- a/plugins/experimental/system_stats/system_stats.c
+++ b/plugins/experimental/system_stats/system_stats.c
@@ -190,6 +190,9 @@ netStatsInfo(TSMutex stat_creation_mutex)
setNetStat(stat_creation_mutex, dent->d_name, "tx_packets", STATISTICS_DIR);
setNetStat(stat_creation_mutex, dent->d_name, "tx_window_errors", STATISTICS_DIR);
}
+
+ closedir(srcdir);
+
return 0;
}
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].