diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2014-12-17 04:48:54 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-01-12 10:16:23 +0000 |
commit | b4f72e31b924bec2c18fe0b2a8c6462dbed9dcb2 (patch) | |
tree | 9e6ad856c8a9aa1122911e2e6f1049501e8b1e98 /hw/net/ne2000-isa.c | |
parent | 57407ea44cc0a3d630b9b89a2be011f1955ce5c1 (diff) |
hw/net/xen_nic.c: Free 'netdev->txs' when map 'netdev->rxs' fails
When map 'netdev->rxs' fails, need free the original resource, or will
cause resource leak.
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/net/ne2000-isa.c')
0 files changed, 0 insertions, 0 deletions