tap: fix memory leak on failure to create a multiqueue tap device
commit091a6b2acfea84c81154ce30e67689cbd731edf1
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 15 Jul 2016 08:56:07 +0000 (15 10:56 +0200)
committerJason Wang <jasowang@redhat.com>
Mon, 18 Jul 2016 08:16:56 +0000 (18 16:16 +0800)
tree248e075e5b747082c1ae974c11038399bb6f48c6
parent4555ca6816c7868323ce2f0138c83e8f9b696622
tap: fix memory leak on failure to create a multiqueue tap device

Reported by Coverity.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/tap.c