Re: [PATCH] virnetdevtap: Fix memory leak in virNetDevTapReattachBridge

2025-05-06 Thread Peter Krempa via Devel
On Tue, May 06, 2025 at 10:47:34 +0800, liu.son...@zte.com.cn wrote: > From: QiangWei Zhang > > Variable 'master' needs to be free because it will be reassigned in > virNetDevOpenvswitchInterfaceGetMaster(). > > The leaked stack: > Direct leak of 11 byte(s) in 1 object(s) allocated from: > #0 0x

Re: [PATCH] virnetdevtap: Fix memory leak in virNetDevTapReattachBridge

2025-05-06 Thread Jiri Denemark via Devel
On Tue, May 06, 2025 at 10:47:34 +0800, liu.son...@zte.com.cn wrote: > From: QiangWei Zhang > > Variable 'master' needs to be free because it will be reassigned in > virNetDevOpenvswitchInterfaceGetMaster(). > > The leaked stack: > Direct leak of 11 byte(s) in 1 object(s) allocated from: > #0 0x

[PATCH] virnetdevtap: Fix memory leak in virNetDevTapReattachBridge

2025-05-06 Thread liu.song13
From: QiangWei Zhang Variable 'master' needs to be free because it will be reassigned in virNetDevOpenvswitchInterfaceGetMaster(). The leaked stack: Direct leak of 11 byte(s) in 1 object(s) allocated from: #0 0x7f7dad8ba6df in __interceptor_malloc (/lib64/libasan.so.8+0xba6df) #1 0x7f7dad715728