mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-22 22:15:17 -04:00
Fixed: Avoid zero-length array memory allocations
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using FluentValidation;
|
||||
using NzbDrone.Core.Annotations;
|
||||
@@ -20,8 +21,8 @@ namespace NzbDrone.Core.Notifications.PushBullet
|
||||
|
||||
public PushBulletSettings()
|
||||
{
|
||||
DeviceIds = new string[] { };
|
||||
ChannelTags = new string[] { };
|
||||
DeviceIds = Array.Empty<string>();
|
||||
ChannelTags = Array.Empty<string>();
|
||||
}
|
||||
|
||||
[FieldDefinition(0, Label = "Access Token", HelpLink = "https://www.pushbullet.com/#settings/account")]
|
||||
|
||||
Reference in New Issue
Block a user