]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
socket: Fix memory leak in sendmsg() and sendmsg_afalg()
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 12 Sep 2016 09:41:58 +0000 (11:41 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 12 Sep 2016 09:41:58 +0000 (11:41 +0200)
commit52d61e485eeebcd3cc9ebdf0c762d100fc2916dc
tree8ceb570ecc0febab84cb2cecb6c40656171cd907
parent288b5bf62431b24faaa9524969c8b762a2c43b8c
socket: Fix memory leak in sendmsg() and sendmsg_afalg()

Issue #27744:

* Release msg.msg_iov memory block.
* Release memory on PyMem_Malloc(controllen) failure
Modules/socketmodule.c