mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
C#: Fix possible null dereference
This commit is contained in:
@@ -545,7 +545,7 @@ namespace Semmle.Extraction.CSharp.DependencyFetching
|
||||
public void Dispose()
|
||||
{
|
||||
nugetPackageRestorer?.Dispose();
|
||||
dependabotProxy.Dispose();
|
||||
dependabotProxy?.Dispose();
|
||||
if (cleanupTempWorkingDirectory)
|
||||
{
|
||||
tempWorkingDirectory?.Dispose();
|
||||
|
||||
Reference in New Issue
Block a user