Fixed: Memory leak in Ensure.That

This commit is contained in:
kayone
2013-11-30 15:53:07 -08:00
parent f1f13e6248
commit a7d5b3761b
15 changed files with 93 additions and 91 deletions

View File

@@ -25,7 +25,7 @@ namespace NzbDrone.Core.IndexerSearch.Definitions
private static string GetQueryTitle(string title)
{
Ensure.That(() => title).IsNotNullOrWhiteSpace();
Ensure.That(title,() => title).IsNotNullOrWhiteSpace();
var cleanTitle = BeginningThe.Replace(title, String.Empty);