pcp
[Top] [All Lists]

[pcp] Fixed memory leak in python module pmsubsys.py (#27)

To: performancecopilot/pcp <pcp@xxxxxxxxxxxxxxxxxx>
Subject: [pcp] Fixed memory leak in python module pmsubsys.py (#27)
From: marcliangma8 <notifications@xxxxxxxxxx>
Date: Sun, 14 Jun 2015 18:47:12 -0700
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1434332832; bh=ii4Xm4/WNue48X23HnPO6+54dj+Y007kH/BUk0TbL5s=; h=From:Reply-To:To:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=qKKMvYv8jmZ+KUmmxVJlMh/F1qodHn7JScHp7jJ7ppiAjwgmPwzes6or6XOBARkEj Q1suZTy7Qba8YD6KBILG49by+vA2NT+ngsUmmZ+rx5DbBavhijufxDzOhzDCaNnmhZ M1hlDrbSHl0rxpXtFlMjGvHwbkAN1YE1G99loPLc=
List-archive: https://github.com/performancecopilot/pcp
List-id: performancecopilot/pcp <pcp.performancecopilot.github.com>
List-post: <mailto:reply+00bd08b666933a072c498a26b1756306c6e470fca1be773292cf000000011195f0a092a169ce05432401@reply.github.com>
List-unsubscribe: <mailto:unsub+00bd08b666933a072c498a26b1756306c6e470fca1be773292cf000000011195f0a092a169ce05432401@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0ItsLVrQCZwPjSDwPGhlE9fskpcFFkks5oTiYggaJpZM4FC7NZ>
Reply-to: performancecopilot/pcp <reply+00bd08b666933a072c498a26b1756306c6e470fca1be773292cf000000011195f0a092a169ce05432401@xxxxxxxxxxxxxxxx>

Found memory leaks in python pmsubsys module. pmFreeResult needs to be called to release metric_result previously allocated by pmFetch.


You can view, comment on, or merge this pull request online at:

  https://github.com/performancecopilot/pcp/pull/27

Commit Summary

  • Fixed memory leak in python module pmsubsys.py

File Changes

Patch Links:


Reply to this email directly or view it on GitHub.

<Prev in Thread] Current Thread [Next in Thread>