Unverified Commit e46e4a83 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!8109 vhost-vdpa: fix use after free in vhost_vdpa_probe()

parents 842729a4 fde0ab16
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1703,7 +1703,6 @@ static int vhost_vdpa_probe(struct vdpa_device *vdpa)

err:
	put_device(&v->dev);
	ida_simple_remove(&vhost_vdpa_ida, v->minor);
	return r;
}