[vlc-devel] commit: macosx/framework: Fix a leak in VLCTime. (Pierre d'Herbemont )

git version control git at videolan.org
Thu Dec 10 02:03:06 CET 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Wed Dec  9 17:37:47 2009 +0100| [429cc2d44619fdc2d5a70f4c8e7350bff0be9922] | committer: Pierre d'Herbemont 

macosx/framework: Fix a leak in VLCTime.

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

 projects/macosx/framework/Sources/VLCTime.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/projects/macosx/framework/Sources/VLCTime.m b/projects/macosx/framework/Sources/VLCTime.m
index 93f6554..8e3dcbf 100644
--- a/projects/macosx/framework/Sources/VLCTime.m
+++ b/projects/macosx/framework/Sources/VLCTime.m
@@ -50,7 +50,7 @@
     if (self = [super init])
     {
         if (aNumber)
-            value = [[aNumber copy] retain];
+            value = [aNumber copy];
         else
             value = nil;
     }




More information about the vlc-devel mailing list