virtio: Fix memory leaks reported by Coverity
All four leaks are similar, so fix them in one patch. Success path was not doing memory free. Signed-off-by: NStefan Weil <sw@weilnetz.de> Signed-off-by: NAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Showing
想要评论请 注册 或 登录