loresoft/msbuildtasks

Possible null dereference

Backs opened this issue · 1 comments

Backs commented

Check Mail.cs 296:

{
    if(message == null)
        message.Dispose();
}

https://github.com/loresoft/msbuildtasks/blob/master/Source/MSBuild.Community.Tasks/Mail.cs#L296

Should be:

{
    if(message != null)
        message.Dispose();
}
Backs commented

Fixed in #250