commit | 2634ab7fe29b3f75d0865b719caf8f310d634aae | [log] [tgz] |
---|---|---|
author | Li Qiang <liqiang6-s@360.cn> | Sat Oct 08 05:07:25 2016 -0700 |
committer | Jason Wang <jasowang@redhat.com> | Wed Oct 26 09:57:59 2016 +0800 |
tree | 7e56272f33676c1880ee4be66e0d0ca84b4442a4 | |
parent | 9463c0778b122dee31de3e0883c6564c31d894a4 [diff] |
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 <liqiang6-s@360.cn> Signed-off-by: Jason Wang <jasowang@redhat.com>