[vlc-devel] commit: macosx/framework: Fix three leaks in VLCStreamOutput. (Pierre d' Herbemont )
git version control
git at videolan.org
Thu Dec 10 11:17:27 CET 2009
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Dec 10 11:16:29 2009 +0100| [c0641836357466d938339b33bdac3e357ce733d9] | committer: Pierre d'Herbemont
macosx/framework: Fix three leaks in VLCStreamOutput.
Pointed-out-by Mike Schrag <mschrag at mdimension.com>.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c0641836357466d938339b33bdac3e357ce733d9
---
.../macosx/framework/Sources/VLCStreamOutput.m | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/projects/macosx/framework/Sources/VLCStreamOutput.m b/projects/macosx/framework/Sources/VLCStreamOutput.m
index 01021ef..ac1b463 100644
--- a/projects/macosx/framework/Sources/VLCStreamOutput.m
+++ b/projects/macosx/framework/Sources/VLCStreamOutput.m
@@ -82,7 +82,7 @@
[NSDictionary dictionaryWithObjectsAndKeys:
@"mp4", @"muxer",
@"file", @"access",
- [filePath copy], @"destination", nil
+ [[filePath copy] autorelease], @"destination", nil
], @"outputOptions",
nil
]
@@ -102,7 +102,7 @@
[NSDictionary dictionaryWithObjectsAndKeys:
@"mp4", @"muxer",
@"file", @"access",
- [filePath copy], @"destination", nil
+ [[filePath copy] autorelease], @"destination", nil
], @"outputOptions",
nil
]
@@ -115,7 +115,7 @@
[NSDictionary dictionaryWithObjectsAndKeys:
@"ps", @"muxer",
@"file", @"access",
- [filePath copy], @"destination", nil
+ [[filePath copy] autorelease], @"destination", nil
], @"outputOptions",
nil
]
@@ -136,7 +136,7 @@
[NSDictionary dictionaryWithObjectsAndKeys:
@"mpeg", @"muxer",
@"file", @"access",
- [filePath copy], @"destination", nil
+ [[filePath copy] autorelease], @"destination", nil
], @"outputOptions",
nil
]
More information about the vlc-devel
mailing list