macOS: Add missing array initialization
authorMarvin Scholz <epirat07@gmail.com>
Sat, 24 Jun 2017 16:35:01 +0000 (18:35 +0200)
committerMarvin Scholz <epirat07@gmail.com>
Sat, 24 Jun 2017 16:45:19 +0000 (18:45 +0200)
modules/gui/macosx/VLCRendererDiscovery.m

index 2a4cfba..a511e4d 100644 (file)
@@ -65,6 +65,7 @@ static void renderer_event_item_removed(vlc_renderer_discovery_t *rd,
                         format:@"name must not be nil"];
         _name = [NSString stringWithUTF8String:name];
         _longName = (!longname) ? nil : [NSString stringWithUTF8String:longname];
+        _rendererItems = [NSMutableArray array];
     }
     return self;
 }