diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-08-06 18:21:04 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-08-06 18:21:04 -0400 |
commit | 87f9207a756a10dd9eebd59d39769463c0f8d8e5 (patch) | |
tree | 0f1be0427a6084667cddfaac2c83b87ffc216c57 /src | |
parent | b4fdc5e77a0cb23d1db4b344eaea4be2389d2148 (diff) | |
parent | 6d917469c098f21a224a84b5925bb15fb86726cd (diff) | |
download | cryptography-87f9207a756a10dd9eebd59d39769463c0f8d8e5.tar.gz cryptography-87f9207a756a10dd9eebd59d39769463c0f8d8e5.tar.bz2 cryptography-87f9207a756a10dd9eebd59d39769463c0f8d8e5.zip |
Merge pull request #2221 from reaperhulk/memleak
fix a memory leak in certificate creation during extension creation
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptography/hazmat/backends/openssl/backend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/hazmat/backends/openssl/backend.py b/src/cryptography/hazmat/backends/openssl/backend.py index 0cbea1f0..40fcad73 100644 --- a/src/cryptography/hazmat/backends/openssl/backend.py +++ b/src/cryptography/hazmat/backends/openssl/backend.py @@ -1180,7 +1180,7 @@ class Backend(object): else: raise NotImplementedError('Extension not yet supported.') - obj = _txt2obj(self, extension.oid.dotted_string) + obj = _txt2obj_gc(self, extension.oid.dotted_string) extension = self._lib.X509_EXTENSION_create_by_OBJ( self._ffi.NULL, obj, |