summaryrefslogtreecommitdiffstats
path: root/python-ethtool/etherinfo_struct.h
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2011-04-11 14:30:36 +0200
committerDavid Sommerseth <davids@redhat.com>2011-04-11 14:30:36 +0200
commitabc7f912f66d41dd734a10900429d4cad9377da5 (patch)
tree91e26638c7d7a84fe750d037ca0231a34463ff30 /python-ethtool/etherinfo_struct.h
parent710766dc72260149bd78fd6168fbaf6838fc3d4f (diff)
downloadpython-ethtool-abc7f912f66d41dd734a10900429d4cad9377da5.tar.gz
python-ethtool-abc7f912f66d41dd734a10900429d4cad9377da5.tar.xz
python-ethtool-abc7f912f66d41dd734a10900429d4cad9377da5.zip
Fixed several memory leaks
Several places python-ethtool leaked memory, mostly due to missing Py_DECREF() calls on objects being put in to python lists (via PyList_Append() calls). This revealed an issue in addition where the IPv6 addresses pointers in some cases could freed more times. This is fixed as well. Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'python-ethtool/etherinfo_struct.h')
0 files changed, 0 insertions, 0 deletions