From: Коренберг Марк Date: Fri, 8 Jun 2012 07:19:27 +0000 (+0600) Subject: Fixed memory leak in Cache destructor X-Git-Tag: libnl3_2_11~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffa461d37c97791f2c4f84682cfd241beb2448c0;p=thirdparty%2Flibnl.git Fixed memory leak in Cache destructor destructor of Cache was missing due to typo --- 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):