commit | 50b632b64ce460844089ddd5061460d8b119df5d | [log] [tgz] |
---|---|---|
author | Zhenzhong Duan <zhenzhong.duan@intel.com> | Wed May 22 12:39:58 2024 +0800 |
committer | Cédric Le Goater <clg@redhat.com> | Wed May 22 10:04:21 2024 +0200 |
tree | 2265dfcd4b7c34fc75fd0bbde85f50e319da3d99 | |
parent | 455c009dc4ec13dab51c3764332433013b5cf3cb [diff] |
vfio/helpers: Use g_autofree in vfio_set_irq_signaling() Local pointer irq_set is freed before return from vfio_set_irq_signaling(). Use 'g_autofree' to avoid the g_free() calls. Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Signed-off-by: Cédric Le Goater <clg@redhat.com>