Fixed memory leak in Cache destructor
destructor of Cache was missing due to typo
This commit is contained in:
parent
dca358c6a2
commit
ffa461d37c
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue