[vlc-commits] macOS: Add missing array initialization

Marvin Scholz git at videolan.org
Sat Jun 24 18:46:40 CEST 2017


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sat Jun 24 18:35:01 2017 +0200| [264f165b2989f54195fd7061d3290bdcf7aaa764] | committer: Marvin Scholz

macOS: Add missing array initialization

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=264f165b2989f54195fd7061d3290bdcf7aaa764
---

 modules/gui/macosx/VLCRendererDiscovery.m | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/macosx/VLCRendererDiscovery.m b/modules/gui/macosx/VLCRendererDiscovery.m
index 2a4cfba03a..a511e4d05c 100644
--- a/modules/gui/macosx/VLCRendererDiscovery.m
+++ b/modules/gui/macosx/VLCRendererDiscovery.m
@@ -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;
 }



More information about the vlc-commits mailing list