don't lock if ref is nil
Ensure that d.mu is only dereferenced if d is not-nil, to avoid a null dereference panic.
Showing
+4 -3
Please register or sign in to comment
Ensure that d.mu is only dereferenced if d is not-nil, to avoid a null dereference panic.
免费DevSecOps平台,让您的项目体验完整的DevSecOps流程,让项目更安全