From a77df69ce99f43e1a11b1cd2d31a7bab25098996 Mon Sep 17 00:00:00 2001 From: Armin Rigo Date: Mon, 15 Aug 2011 09:12:34 +0000 Subject: Grumble. (transplanted from af690ea765e2ccd6f5143f6f4e46409b7138019a) --- pypy/module/_ssl/interp_ssl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py index bddcbeda43..74b71f19d3 100644 --- a/pypy/module/_ssl/interp_ssl.py +++ b/pypy/module/_ssl/interp_ssl.py @@ -142,6 +142,7 @@ class SSLObject(Wrappable): '__del__() method of ') def destructor(self): + assert isinstance(self, SSLObject) if self.peer_cert: libssl_X509_free(self.peer_cert) if self.ssl: -- cgit v1.2.3-65-gdbad