From ffa461d37c97791f2c4f84682cfd241beb2448c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=BE=D1=80=D0=B5=D0=BD=D0=B1=D0=B5=D1=80=D0=B3=20?= =?UTF-8?q?=D0=9C=D0=B0=D1=80=D0=BA?= Date: Fri, 8 Jun 2012 13:19:27 +0600 Subject: Fixed memory leak in Cache destructor destructor of Cache was missing due to typo --- python/netlink/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.1