Skip to content
  • Marcus Hüwe's avatar
    Fix SSL.Connection.__del__ · f749f85d
    Marcus Hüwe authored and Matěj Cepl's avatar Matěj Cepl committed
    Without this change self.m2_ssl_free(self.ssl) is never called,
    because m2.bio_noclose is defined as "0". Hence, the if-condition
    is always false.  This got broken in commit e2f707b1 ("SSL
    package: Port to python3").
    
    Note that these testcases rely on the "fact" (or CPython
    implementation detail?) that "del s" calls s' __del__ method.
    f749f85d