mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
When creating and returning a Python struct we were adding fields from the C struct, but did not reduce the ref count on the temporary value after it had been moved to the struct, resulting in a memory leak. Reported-by: 朱丹 <zhudan24@huawei.com> Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1985912
30 KiB
30 KiB