]> Git Repo - qemu.git/commit - hw/net/eepro100.c
net: eepro100: fix memory leak in device uninit
authorLi Qiang <[email protected]>
Sat, 8 Oct 2016 12:07:25 +0000 (05:07 -0700)
committerJason Wang <[email protected]>
Wed, 26 Oct 2016 01:57:59 +0000 (09:57 +0800)
commit2634ab7fe29b3f75d0865b719caf8f310d634aae
tree7e56272f33676c1880ee4be66e0d0ca84b4442a4
parent9463c0778b122dee31de3e0883c6564c31d894a4
net: eepro100: fix memory leak in device uninit

The exit dispatch of eepro100 network card device doesn't free
the 's->vmstate' field which was allocated in device realize thus
leading a host memory leak. This patch avoid this.

Signed-off-by: Li Qiang <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
hw/net/eepro100.c
This page took 0.025069 seconds and 4 git commands to generate.