Преглед изворни кода

MacOSX/Framework/VLCVideoView.m: Fix a potential segfault.

Pierre d'Herbemont пре 17 година
родитељ
комит
ea56bc58c0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Sources/VLCVideoView.m

+ 1 - 1
Sources/VLCVideoView.m

@@ -177,7 +177,7 @@ NSString * VLCVideoViewLeftFullScreen       = @"VLCVideoViewLeftFullScreen";
         [self setStretchesVideo:NO];
         [self setAutoresizesSubviews:YES];
         [self setFillScreen: NO];
-        layoutManager = [VLCConstraintLayoutManager layoutManager];
+        layoutManager = [[VLCConstraintLayoutManager layoutManager] retain];
     }
     return self;
 }