aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-08-06 18:21:04 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-08-06 18:21:04 -0400
commit87f9207a756a10dd9eebd59d39769463c0f8d8e5 (patch)
tree0f1be0427a6084667cddfaac2c83b87ffc216c57 /src
parentb4fdc5e77a0cb23d1db4b344eaea4be2389d2148 (diff)
parent6d917469c098f21a224a84b5925bb15fb86726cd (diff)
downloadcryptography-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.py2
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,