[vlc-commits] macosx: fixed memory leak
Felix Paul Kühne
git at videolan.org
Mon Apr 16 20:25:12 CEST 2012
vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Apr 16 19:21:09 2012 +0200| [5b4308ddbc540745560a1f25f990a0a8285e612e] | committer: Felix Paul Kühne
macosx: fixed memory leak
(cherry picked from commit 2eab05e34ae0f580c25fde33c183bd9737c8aa3f)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=5b4308ddbc540745560a1f25f990a0a8285e612e
---
modules/gui/macosx/intf.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 816f2dd..1361ee3 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1875,7 +1875,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
if( version == 1 )
{
- NSMutableString * o_workString = [[NSMutableString alloc] initWithFormat:@"%s", config_GetPsz( VLCIntf, "extraintf" )];
+ NSMutableString * o_workString;
NSRange returnedRange;
NSRange fullRange;
BOOL b_needsRestart = NO;
More information about the vlc-commits
mailing list