]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vircgroupv2devices: free BPF map when replacing with new one v6.0.0-rc2
authorPavel Hrdina <phrdina@redhat.com>
Mon, 13 Jan 2020 11:50:41 +0000 (12:50 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 13 Jan 2020 14:17:54 +0000 (15:17 +0100)
commit7d608469621a3fda72dff2a89308e68cc9fb4c9a
treef971d266024dd59a8b9ad267f08834d25f6f24fe
parentc2642c488931cc1f19f7d3a8b59fcfc8f9e40ee2
vircgroupv2devices: free BPF map when replacing with new one

This leaks the FD of BPF map which means it will not be freed.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/util/vircgroupv2devices.c