mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
Fixed: Memory leak in Ensure.That
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user