Kaydet (Commit) 36433221 authored tarafından Alexey Izbyshev's avatar Alexey Izbyshev Kaydeden (comit) Miss Islington (bot)

bpo-35984: _xxsubinterpreters: Fix memory leak in _channel_send() (GH-11845)



https://bugs.python.org/issue35984
üst 4327705c
......@@ -1339,6 +1339,7 @@ _channel_send(_channels *channels, int64_t id, PyObject *obj)
return -1;
}
if (_PyObject_GetCrossInterpreterData(obj, data) != 0) {
PyMem_Free(data);
PyThread_release_lock(mutex);
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment