summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorКоренберг Марк <mark@ideco.ru>2012-06-08 07:19:27 (GMT)
committerКоренберг Марк (ноутбук дома) <socketpair@gmail.com>2012-06-08 16:26:35 (GMT)
commitffa461d37c97791f2c4f84682cfd241beb2448c0 (patch)
treef23f0fabe1432a2e2f1395ab51410cc572e850ab /python
parentdca358c6a23e9734facc745dd097d4b539c8f438 (diff)
downloadlibnl-ffa461d37c97791f2c4f84682cfd241beb2448c0.zip
libnl-ffa461d37c97791f2c4f84682cfd241beb2448c0.tar.gz
libnl-ffa461d37c97791f2c4f84682cfd241beb2448c0.tar.bz2
Fixed memory leak in Cache destructor
destructor of Cache was missing due to typo
Diffstat (limited to 'python')
-rw-r--r--python/netlink/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/netlink/core.py b/python/netlink/core.py
index 05420ef..3298e2c 100644
--- a/python/netlink/core.py
+++ b/python/netlink/core.py
@@ -441,7 +441,7 @@ class Cache(object):
self.arg1 = None
self.arg2 = None
- def __del(self):
+ def __del__(self):
capi.nl_cache_free(self._nl_cache)
def __len__(self):