mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Fix leak of mdnsGroupName in virNetServer object
* src/rpc/virnetserver.c: Free mdnsGroupName
This commit is contained in:
parent
df65adf136
commit
92fa2e58fd
@ -746,6 +746,8 @@ void virNetServerFree(virNetServerPtr srv)
|
||||
}
|
||||
VIR_FREE(srv->clients);
|
||||
|
||||
VIR_FREE(srv->mdnsGroupName);
|
||||
|
||||
virNetServerUnlock(srv);
|
||||
virMutexDestroy(&srv->lock);
|
||||
VIR_FREE(srv);
|
||||
|
Loading…
x
Reference in New Issue
Block a user