diff options
| author | Zackery Spytz <zspytz@gmail.com> | 2019-02-14 00:43:17 -0700 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2019-02-13 23:43:17 -0800 |
| commit | bb3c05d7efca8d23bf39bc2640297ba2598899f3 (patch) | |
| tree | f13ade21133256a462f9e88208877d705c3ef639 /Modules | |
| parent | d73ac0eba992a33992210915739d73250bf6d38d (diff) | |
| download | cpython-git-bb3c05d7efca8d23bf39bc2640297ba2598899f3.tar.gz | |
closes bpo-35991: Fix a potential double free in Modules/_randommodule.c. (GH-11849)
Diffstat (limited to 'Modules')
| -rw-r--r-- | Modules/_randommodule.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c index dae9d42fcb..6a48689204 100644 --- a/Modules/_randommodule.c +++ b/Modules/_randommodule.c @@ -292,7 +292,6 @@ random_seed(RandomObject *self, PyObject *args) PY_LITTLE_ENDIAN, 0); /* unsigned */ if (res == -1) { - PyMem_Free(key); goto Done; } |
