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

!14097 vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans

parents 308ccbdf e246393e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -687,6 +687,7 @@ void virtio_transport_destruct(struct vsock_sock *vsk)
	struct virtio_vsock_sock *vvs = vsk->trans;

	kfree(vvs);
	vsk->trans = NULL;
}
EXPORT_SYMBOL_GPL(virtio_transport_destruct);