diff options
author | Chris Gunn <chrisgun@microsoft.com> | 2022-10-10 13:36:18 -0700 |
---|---|---|
committer | Chris Gunn <chrisgun@microsoft.com> | 2022-10-10 13:36:18 -0700 |
commit | 9716b459cabcbc412a230ceb975369103ce2addc (patch) | |
tree | f7a178985f1fef9865e7ab4cb576dc651aabc507 /HACKING | |
parent | d9b9517cc381c1717ae2b74f461f372b5866af5e (diff) | |
download | libvirt-python-9716b459cabcbc412a230ceb975369103ce2addc.tar.gz |
Fix memory leak in libvirt_virStreamRecv.
The libvirt_virStreamRecv function uses a temporary allocated buffer to
receive data before copying the data into a Python byte array. But
there are some error paths where this buffer is not freed. This change
fixes that memory leak.
Signed-off-by: Chris Gunn <chrisgun@microsoft.com>
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions