X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-afs.git/blobdiff_plain/7f4b67d7f215fd22223ced8526783cd45f7b0e29..4b50167cf8e38be5b28cb1f1183d51cc3bc412c2:/afs/_pts.pyx diff --git a/afs/_pts.pyx b/afs/_pts.pyx index 6678418..43a0f03 100644 --- a/afs/_pts.pyx +++ b/afs/_pts.pyx @@ -11,3 +11,6 @@ cdef class PTS: code = a.rx_Init(0) if code != 0: raise Exception(str(code)) + + def __dealloc__(self): + a.rx_Finalize()