Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fixed memory leak in python module pmsubsys.py #27

Merged
merged 1 commit into from Jun 18, 2015
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -220,7 +220,7 @@ def get_stats(self, pcp):
self.metric_values[j] = 0
elif metric_result.contents.get_numval(j) > 1:
self.metric_values[j] = copy.copy(value)
-
+ pcp.pmFreeResult(metric_result)
# Processor --------------------------------------------------------------